"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / dtest-collectioninit-01.cs
blob2816af20e7622e728099a75501c0ed4d2017ca2c
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
5 public class Test
7 class Wrap
9 List<short> numbers = new List<short> ();
11 public dynamic Numbers {
12 get {
13 return numbers;
18 public static int Main ()
20 var a = new Wrap () {
21 Numbers = { 3, 9 }
24 if (a.Numbers [1] != 9)
25 return 1;
27 Console.WriteLine ("OK");
28 return 0;