1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* { dg-do compile } */ class A; class B { }; extern const double NaN; B foo(A* exec, double d); inline B baz(A* a) { return foo(a, NaN); } B bar(A* a) { return baz(a); } extern const double NaN = (__builtin_nanf(""));