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
MIPS32R6 and MIPS64R6 support
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
jump.C
blob
31edfa6254daf66ca0660820795e6aaa13c4924c
1
// { dg-do assemble }
2
// PRMS Id: 6036
3
4
extern int a;
5
6
int main() {
7
switch (a) {
8
case 1:
9
int v2 = 3; // { dg-message "" } referenced below
10
case 2: // { dg-error "" } jumping past initializer
11
if (v2 == 7)
12
;
13
}
14
return 0;
15
}