1  /* Test C2x constexpr.  Valid code, compilation tests, excess precision.  */
       2  /* { dg-do compile } */
       3  /* { dg-options "-std=c2x -pedantic-errors -mfpmath=387 -fexcess-precision=standard" } */
       4  
       5  constexpr long double ld = 1.0 / 3.0;
       6  constexpr long double ld2 = 1.1;
       7  constexpr double d = (double) (1.0 / 3.0);
       8  constexpr double d2 = (double) 1.1;