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
[runtime] Require C# namespace to be quoted.
[mono-project.git]
/
mono
/
tests
/
unreachable-code.cs
blob
c1a9923e3749863a7631e70d36fa061290ebde77
1
using
System
;
2
3
// You need to compile this test with mcs:
4
// csc will discard unreachable code sections
5
6
namespace
Test
{
7
public class
Test
{
8
public static int
Main
() {
9
int var
=
0
;
10
goto
label2
;
11
label1
:
12
goto
label2
;
13
label2
:
14
return var
;
15
}
16
}
17
}