Debian Codegraph @

gcc/testsuite/gcc.dg/spellcheck-stdlib-2.c

raw
1 /* { dg-options "-Wimplicit-function-declaration" } */
2
3 /* Missing <string.h>. */
4 void test_string_h (void)
5 {
6 strerror (0); /* { dg-error "implicit declaration of function 'strerror'" } */
7 /* { dg-message "'strerror' is defined in header '<string.h>'" "" { target *-*-* } .-1 } */
8 }