Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
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" }
}
}