[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-268.cs
1 public enum MyEnum { V = 1 }
2
3 class X {
4         public MyEnum MyEnum;   
5         class Nested {
6                 internal MyEnum D () { 
7                         return MyEnum.V; 
8                 }
9         }
10         
11         public static int Main () {
12                 Nested n = new Nested ();
13                 return n.D() == MyEnum.V ? 0 : 1;
14         }
15 }