OSDN Git Service

PR preprocessor/30805:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / noreturn-5.c
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu99" } */
3 /* Check that 'noreturn' and 'volatile extern' are compatible.  
4    The testsuite uses -ansi -pedantic-errors by default, so this has
5    to override.  */
6 extern void xxx (int) __attribute__((noreturn));
7 typedef void voidfn (int);
8 __volatile extern voidfn xxx;