Merge all static runtime libs into libmono-static.
[mono.git] / mcs / tests / test-64.cs
1 //
2 // This just test that we can compile this code.
3 //
4 // The challenge here is that LookupType needs to first look
5 // in classes defined in its class or parent classes before resorting
6 // to lookups in the namespace.
7 //
8
9 class Operator {
10 }
11
12 class Blah {
13
14         public enum Operator { A, B };
15         
16         public Blah (Operator x)
17         {
18         }
19 }
20
21 class T {
22         public static int Main ()
23         {
24                 Blah b = new Blah (Blah.Operator.A);
25
26                 return 0;
27         }
28 }
29