[mcs] C# 7 tuple (foundation only).
[mono.git] / mcs / tests / gtest-329.cs
old mode 100755 (executable)
new mode 100644 (file)
index 398ad91..c5f2dd8
@@ -2,7 +2,7 @@ using System;
 
 public class NullableInt
 {
-         public static void Main()
+         public static int Main()
          {
                  object x = null;
 
@@ -10,5 +10,11 @@ public class NullableInt
 
                  Console.WriteLine("y: '{0}'", y);
                  Console.WriteLine("y.HasValue: '{0}'", y.HasValue);
+                        
+                        int? b = 1 as int?;
+                        if (b != 1)
+                                return 1;
+                        
+                        return 0;
          }
 }