repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix LLVM linker flags for 6.0.
[mono-project.git]
/
mcs
/
tests
/
test-516.cs
blob
1e6396ce9787f425e00cf22a3682357828b7a48f
1
// Compiler options: -warnaserror -warn:2
2
3
// Same as test-515, but we're checking that there's no "unreachable code" warning either
4
5
class
X
{
6
public static void
Main
()
7
{
8
int
i
=
0
;
9
goto
a
;
10
b
:
11
if
(++
i
>
1
)
12
throw new
System
.
Exception
(
"infloop!!!"
);
13
return
;
14
a
:
15
goto
b
;
16
}
17
}