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
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
test-907.cs
blob
0a832c911239409677b19c5ce2b85cd6136a034a
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
}