Merge pull request #487 from mayerwin/patch-1
[mono.git] / mcs / tests / test-123.cs
index 87f7dbbfe01a5ef85e4217a60fefe28531bdea5c..bd793f9f1a6bec4464774000c91c054c9650b6ad 100644 (file)
@@ -10,7 +10,7 @@ class X {
                return null;
        }
        
-       static int Main ()
+       public static int Main ()
        {
                int a = 5;
                object o;
@@ -40,6 +40,10 @@ class X {
 
                if (d is int)
                        return 6;
+                       
+               object oi = 1;
+               if (!(oi is int))
+                       return 7;
 
                System.Console.WriteLine ("Is tests pass");
                return 0;