1 // { dg-do compile { target c++11 } } 2 f()3 constexpr int f() 4 { 5 { // { dg-error "compound-statement" "" { target { c++11_only } } } 6 return 1; 7 } 8 { } // { dg-error "compound-statement" "" { target { c++11_only } } } 9 } 10