"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-112.cs
blob552cc0a6901347f36fced13b5ee4c17837695ce4
1 //
2 // This tests the use of an array indexer on value exprclasses
3 // and not only variables
4 //
5 class X {
6 static int [] g ()
8 int [] x = new int [5];
9 x [1] = 10;
10 return x;
13 public static int Main ()
15 if (g () [1] == 10)
16 return 0;
17 return 1;