Merge pull request #1861 from saper/home-override
[mono-project.git] / mcs / tests / test-907.cs
blob0a832c911239409677b19c5ce2b85cd6136a034a
1 public enum Foo { One, Two };
3 class MainClass
5 public static int Main ()
7 const Foo foo = Foo.Two;
8 int obj;
10 switch (foo) {
11 case Foo.One:
12 case Foo.Two:
13 obj = 2;
14 break;
17 if (obj != 2)
18 return 1;
20 return 0;