projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Allow passing null to JsonArray.Add()
[mono.git]
/
mcs
/
tests
/
test-941.cs
1
public class GotoCodeFlowBug
2
{
3
public static void Test (bool cond, out int x)
4
{
5
if (cond)
6
{
7
goto Label;
8
}
9
Label:
10
x = 0;
11
}
12
13
public static void Test2 (bool cond, out int x)
14
{
15
if (cond)
16
{
17
goto Label;
18
}
19
else
20
{
21
goto Label;
22
}
23
Label:
24
x = 0;
25
}
26
27
public static void Main ()
28
{
29
}
30
}