/* { dg-options "-Wimplicit-function-declaration" } */ /* Missing . */ void test_string_h (void) { strerror (0); /* { dg-error "implicit declaration of function 'strerror'" } */ /* { dg-message "'strerror' is defined in header ''" "" { target *-*-* } .-1 } */ }