X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mcs%2Ftests%2Ftest-123.cs;h=bd793f9f1a6bec4464774000c91c054c9650b6ad;hb=6f677fd8c383e2517740a23f196625b3056cb714;hp=87f7dbbfe01a5ef85e4217a60fefe28531bdea5c;hpb=fc4b07f20f9e79fe99d4b520bb5ff8b5e80b10f6;p=mono.git diff --git a/mcs/tests/test-123.cs b/mcs/tests/test-123.cs index 87f7dbbfe01..bd793f9f1a6 100644 --- a/mcs/tests/test-123.cs +++ b/mcs/tests/test-123.cs @@ -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;