blob: c23e1483b4b655a9153639d5437cb70f500ebb8f [file] [log] [blame]
// { dg-do compile { target c++11 } }
constexpr int f()
{
{ // { dg-error "compound-statement" "" { target { c++11_only } } }
return 1;
}
{ } // { dg-error "compound-statement" "" { target { c++11_only } } }
}