* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / noreturn-5.c
blobe69087a4d74fb4a2c2d04c4ca4e2e1d53d59c4b6
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;