[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / gtest-430.cs
blobcf1d40d0ca55071c17c238a275d38921094f6205
1 using System;
3 public class Tmp
5 public int stuff;
7 public class Driver
9 Tmp tmp;
11 public int? Prop {
12 get { return tmp != null ? tmp.stuff : (int?)null; }
15 public static int Main ()
17 int? r = new Driver().Prop;
18 Console.WriteLine (r);
19 return r.HasValue ? 1 : 0;