dlr bug
[mcs.git] / tests / test-64.cs
blob43c31d7559e703d43b56129a6d6c8696f33622ce
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 //
9 class Operator {
12 class Blah {
14 public enum Operator { A, B };
16 public Blah (Operator x)
21 class T {
22 static int Main ()
24 Blah b = new Blah (Blah.Operator.A);
26 return 0;