projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] C#7 throw expression
[mono.git]
/
mcs
/
tests
/
test-854.cs
1
using System;
2
3
public class Test {
4
5
public static int Main ()
6
{
7
int a = 2;
8
int res = 0;
9
switch(a) {
10
case 1:
11
res += 1;
12
label:
13
res += 3;
14
break;
15
case 2:
16
res += 2;
17
goto label;
18
}
19
20
if (res != 5)
21
return 1;
22
23
return 0;
24
}
25
}