OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr34953.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-w" } */
3
 
4
void B_CLEAR(void* ret);
5
void B_NeverReturns(void* ret) __attribute__((noreturn));
6
 
7
int main()
8
{
9
    const struct AutoErrPop { ~AutoErrPop() { } } AutoErrPopper = { };
10
    B_NeverReturns(0);
11
}
12
 
13
void B_NeverReturns(void* ret)
14
{
15
    B_CLEAR(ret); /* Never returns (does a setjmp/goto) */
16
}
17
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.