1 /* { dg-options "-Wimplicit-function-declaration" } */
2
3 extern double sqrt (double);
4
5 void test (float pf, float inff)
6 {
7 assert (pf == inff); /* { dg-bogus "sqrt" } */
8 /* { dg-warning "implicit declaration of function 'assert'" "" { target *-*-* } .-1 } */
9 /* { dg-message "header '<assert.h>'" "" { target *-*-* } .-2 } */
10 }