X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-77.cs;h=eb78c9ff59c5cb6f3afcec2a07b7d05f93c69897;hb=301984b6480590282620a6fbb17b13d9bbcac1e8;hp=8f3119b2a88379c433b525ab876e5e93db26ed42;hpb=a3ea7ceb4d4f5e2cb8ea421313e8939640fb898c;p=mono.git diff --git a/mcs/tests/test-77.cs b/mcs/tests/test-77.cs index 8f3119b2a88..eb78c9ff59c 100644 --- a/mcs/tests/test-77.cs +++ b/mcs/tests/test-77.cs @@ -34,6 +34,12 @@ class XX { if ((1 + " " + "hello") != "1 hello") return 7; + const string s1 = null + (string)null; + const string s2 = (string)null + null; + + // csc does not compile this one + const string s3 = null + null; + System.Console.WriteLine ("test ok"); return 0; }