mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-28 11:30:19 +00:00
11 lines
332 B
C
11 lines
332 B
C
/* { dg-options "-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 } */
|
|
}
|