Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-compound.C
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 } } }
}