1 2 3 4 5 6 7 8 9
// { dg-options "-std=c++0x -pedantic-errors" } constexpr int f() { { // { dg-error "" } return 1; } { } // { dg-error "" } }