X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Fgtest-329.cs;h=c5f2dd812406aa0c9586a06da61d8c528429b1b5;hb=d2a26c959578e8d721cfe320f6ac1d8ee8633cf3;hp=398ad9133c2ae726184b9bcf722dfb619c424a10;hpb=9c729bc7837845d9faa7b4173086b39252a3660e;p=mono.git diff --git a/mcs/tests/gtest-329.cs b/mcs/tests/gtest-329.cs old mode 100755 new mode 100644 index 398ad9133c2..c5f2dd81240 --- a/mcs/tests/gtest-329.cs +++ b/mcs/tests/gtest-329.cs @@ -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; } }