Updated with review feedback.
[mono.git] / mcs / tests / dtest-018.cs
1 class XValue
2 {
3         public long Y { get; set; }
4 }
5
6 class A
7 {
8         public dynamic X = new XValue ();
9         
10         public static int Main()
11         {
12                 var v = new A { X = { Y = 467 } };
13                 if (v.X.Y != 467)
14                         return 1;
15                 
16                 return 0;
17         }
18 }