1 // PR c++/23139: HUGE_VAL definition should be accepted with -pedantic.
2 // Origin: Joseph Myers <joseph@codesourcery.com>
4 // { dg-options "-pedantic-errors" }
13 long double l = HUGE_VALL;
16 extern void link_failure ();
22 if (HUGE_VAL != __builtin_huge_val ())
25 if (HUGE_VALF != __builtin_huge_valf ())
29 if (HUGE_VALL != __builtin_huge_vall ())