2 // { dg-options "-std=gnu++0x" }
9 static const int eights = 888;
10 static constexpr int nines = 999;
20 constexpr pixel ur = { 1294, 1024 }; // OK
25 explicit constexpr Length(int i = 0) : val(i) { }
30 constexpr int myabs(int x)
31 { return x < 0 ? -x : x; } // OK
33 Length l(myabs(-97)); // OK
39 explicit debug_flag(bool);
40 constexpr bool is_on(); // { dg-error "enclosing class .* not a literal type" }