2 /* { dg-do compile } */
3 /* { dg-options "-O2 -std=c99 -Wpedantic" } */
6 double nan (const char *);
8 const double nok
= nan (""); /* { dg-warning "(not a constant)|(near initialization)" } */
10 const double ok
= __builtin_nan ("");
15 double ok2
= nan ("");