Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
constexpr-if8.C
blob: 7efdc47070e375591eae97b4e66bedf1d2fe0395 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options "-w" }
void
f
()
{
if
constexpr
(
false
)
{
l
:;
// { dg-error "jump to label" }
}
else
{
goto
l
;
// { dg-message "from here" }
}
}