re PR c/89525 (inform messages from -Wbuiltin-declaration-mismatch even with -w)
[official-gcc.git] / gcc / testsuite / gcc.dg / pr89525.c
blob099e174875cc626e71cb8560eb874a0107a91fc4
1 /* PR c/89525 */
2 /* { dg-do compile } */
3 /* { dg-options "-w" } */
5 double sqrt (); /* { dg-bogus "declared here" } */
7 void
8 foo (void)
10 sqrt ();