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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr34953.C] - Blame information for rev 320

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 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.