4 // Floating point formatting in error and warning messages
6 extern "C" int printf(const char *, ...);
10 static const float inf = 1.0f / 0.0f; // { dg-warning "1.0|float|initialization" }
11 static const float nan = 0.0f / 0.0f; // { dg-warning "0.0|float|initialization" }
16 printf("%f\n%f\n", S::inf, S::nan);