GenericParameter.cs: override Module properly
[mcs.git] / tests / test-392.cs
blob93468b70b3fcd71f539fc661741da9d54a97a380
1 public struct C
3 struct S
5 public int i;
6 public S (int i)
8 this.i = i;
12 static S[] s;
14 int Test ()
16 int i = 0;
17 s = new S [1];
18 if (s.Length > 0)
19 s [i++] = new S (10);
21 if (s [0].i != 10)
22 return 1;
24 return 0;
27 public static int Main ()
29 return new C().Test ();