repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
constexpr-if4.C
blob
612eff83b1e82fdccdfcfc19d2f46d4ea937ee82
1
// { dg-do compile { target c++11 } }
2
// { dg-options "-w" }
3
4
void f()
5
{
6
goto l; // { dg-message "from here" }
7
if constexpr (false) // { dg-message "enters constexpr if" }
8
{
9
l:; // { dg-error "jump to label" }
10
}
11
}