URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [noreturn1.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// Test that attribute noreturn is not part of the mangled name.
// { dg-options -fabi-version=0 }
void baz (const char *fmt, ...);
// { dg-final { scan-assembler "_Z3barPFvPKczE" } }
void bar (void (*baz) (const char *fmt, ...)
__attribute__ ((noreturn, format (printf, 1, 2))));
void
foo ()
{
bar (&baz);
}
Go to most recent revision | Compare with Previous | Blame | View Log