projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git]
/
mcs
/
tests
/
test-907.cs
1
public enum Foo { One, Two };
2
3
class MainClass
4
{
5
public static int Main ()
6
{
7
const Foo foo = Foo.Two;
8
int obj;
9
10
switch (foo) {
11
case Foo.One:
12
case Foo.Two:
13
obj = 2;
14
break;
15
}
16
17
if (obj != 2)
18
return 1;
19
20
return 0;
21
}
22
}