Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-430.cs
1 using System;
2
3 public class Tmp
4 {
5         public int stuff;
6 }
7 public class Driver
8 {
9         Tmp tmp;
10
11         public int? Prop {
12                 get { return tmp != null ? tmp.stuff : (int?)null; }
13         }
14
15         public static int Main ()
16         {
17                 int? r = new Driver().Prop;
18                 Console.WriteLine (r);
19                 return r.HasValue ? 1 : 0;
20         }
21 }