Merge branches/gcc-4_8-branch rev 208968.
[official-gcc.git] / gcc-4_8-branch / gcc / testsuite / c-c++-common / pr42674.c
blobae6730c50b0ca2d86867212c8e75d224f45793cf
1 /* PR middle-end/42674 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wreturn-type" } */
5 extern void bar (void);
6 static int foo (void) __attribute__ ((__noreturn__, __used__));
8 static int
9 foo (void)
11 while (1)
12 bar ();