repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-compound.C
blob
c23e1483b4b655a9153639d5437cb70f500ebb8f
1
// { dg-do compile { target c++11 } }
2
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
}