2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / tests / test-268.cs
blob145c2d86bdffd4bcf94813cef02030b102ae3ee6
1 public enum MyEnum { V = 1 }
3 class X {
4 public MyEnum MyEnum;
5 class Nested {
6 internal MyEnum D () {
7 return MyEnum.V;
11 static int Main () {
12 Nested n = new Nested ();
13 return n.D() == MyEnum.V ? 0 : 1;