[build] Fix warning (#4177)
[mono-project.git] / mcs / tests / dtest-018.cs
blobb452bf138074924ed8a7362335563a95c756a7eb
1 class XValue
3 public long Y { get; set; }
6 class A
8 public dynamic X = new XValue ();
10 public static int Main()
12 var v = new A { X = { Y = 467 } };
13 if (v.X.Y != 467)
14 return 1;
16 return 0;