1 /* PR testsuite/88098 - FAIL: gcc.dg/Wbuiltin-declaration-mismatch-4.c
3 { dg-options "-Wbuiltin-declaration-mismatch -fshort-enums" } */
6 double fabs (); /* { dg-message "built-in .fabs. declared here" } */
13 void test_short_enums (void)
15 /* enum e promotes to int. */
18 d
= fabs (e
); /* { dg-warning ".fabs. argument 1 promotes to .int. where .double. is expected in a call to built-in function declared without prototype" } */