blob: ae6730c50b0ca2d86867212c8e75d224f45793cf [file] [log] [blame]
/* PR middle-end/42674 */
/* { dg-do compile } */
/* { dg-options "-Wreturn-type" } */
extern void bar (void);
static int foo (void) __attribute__ ((__noreturn__, __used__));
static int
foo (void)
{
while (1)
bar ();
}