2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / tests / gtest-329.cs
blob398ad9133c2ae726184b9bcf722dfb619c424a10
1 using System;
3 public class NullableInt
5 public static void Main()
7 object x = null;
9 int? y = x as int?; /* Causes CS0077 */
11 Console.WriteLine("y: '{0}'", y);
12 Console.WriteLine("y.HasValue: '{0}'", y.HasValue);