1 /* { dg-do compile } */ 2 /* { dg-options "-Wmissing-declarations" } */ 3 foo(void)4 inline int foo (void) { return 42; } /* { dg-bogus "no previous declaration" } */ 5 extern int foo (void); 6