[Microsoft.CSharp] Replaced with CoreFX implementation
[mono.git] / mcs / tests / test-828.cs
1 // Compiler options: -warnaserror
2
3 public class C
4 {
5         public int v;
6 }
7
8 public struct S2
9 {
10         public C c;
11         public int v;
12 }
13
14 public struct S
15 {
16         public S2 s2;
17 }
18
19 public class Test
20 {
21         public static void Main ()
22         {
23                 S s;
24                 s.s2.v = 9;
25         }
26 }