blob: f24d863a15c6bd19de4e3c3a60a4008f0175d0bd [file] [log] [blame]
/* { dg-options "-fpermissive -Wimplicit-function-declaration" } */
extern double sqrt (double);
void test (float pf, float inff)
{
assert (pf == inff); /* { dg-bogus "sqrt" } */
/* { dg-warning "implicit declaration of function 'assert'" "" { target *-*-* } .-1 } */
/* { dg-message "header '<assert.h>'" "" { target *-*-* } .-2 } */
}