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
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail15535.d
blob
6f71a927fb2309f3e80fbe6ddf6d1081c75e19c0
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail15535.d(17): Error: `goto default` not allowed in `final switch` statement
5
---
6
*/
7
8
void
test
()
9
{
10
int
i
;
11
switch
(
i
)
12
{
13
case
0
:
14
final switch
(
i
)
15
{
16
case
1
:
17
goto default
;
18
}
19
default
:
20
break
;
21
}
22
}