Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-anontype-10.cs
1 class A
2 {
3         public int X {
4                 get { 
5                         return 100;
6                 }
7         }
8 }
9
10 class B : A
11 {
12         public static int Main ()
13         {
14                 return new B ().Test ();
15         }
16         
17         int Test ()
18         {
19                 var x = new { base.X };
20                 return x.X == 100 ? 0 : 1;
21         }
22 }