1 // { dg-do run { target c++11 } }
2 // { dg-options "-pedantic-errors" }
9 // C90 and C++98: "0x1p+( 0x1p+)"
10 // C99 and C++11: "0x1p+f 0x1p+l"
11 const char *s = xstr(0x1p+f 0x1p+l);
13 extern "C" void abort (void);
14 extern "C" int strcmp (const char *, const char *);
19 if (strcmp (s, "0x1p+( 0x1p+)"))
20 return 0; // Correct C99 and C++11 behavior.
22 abort (); // Correct C90 and C++ behavior.