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
/
ice11925.d
blob
2627f2b276c44a4d687704b871ae0eff996bfcd9
1
/* TEST_OUTPUT:
2
---
3
fail_compilation/ice11925.d(23): Error: cannot `goto` into `try` block
4
fail_compilation/ice11925.d(31): Error: cannot `goto` into `try` block
5
---
6
*/
7
8
void
test11925a
()
9
{
10
try
11
{
12
try
13
{
14
L1
: {}
15
}
16
finally
17
{
18
}
19
}
20
finally
21
{
22
}
23
goto
L1
;
24
}
25
26
void
test11925b
()
27
{
28
switch
(
1
)
29
{
30
case
1
:
31
goto
L1
;
32
break
;
33
34
default
:
35
break
;
36
}
37
38
try
39
{
40
L1
: { }
41
}
42
finally
43
{
44
}
45
}