[tests] Test loading references from LoadFrom and LoadFile contexts
[mono-project.git] / mono / tests / array-vt.cs
blob5eee592e3717fddd04ffa7e2e56c4f6c4e2a6892
1 using System;
3 public struct Test {
4 int a1;
5 int a2;
7 static public int Main () {
8 Test[] tarray = new Test [20];
9 tarray[0].a1 = 1;
10 tarray[0].a2 = 2;
11 if (tarray[0].a1 + tarray[0].a2 != 3)
12 return 1;
13 return 0;