[xbuild] Use the env var $MSBuildExtensionsPath before trying other paths.
[mono.git] / mcs / tests / gtest-391.cs
index 580d6ce3936866b6463f68e630bb3a3749f1b8fe..bea361535af5c5b40f069cd84462d51373bdbce6 100644 (file)
@@ -8,6 +8,10 @@ class C
                return xx ?? true;
        }
        
+       static void Test (object s, EventArgs a)
+       {
+       }
+       
        public static int Main ()
        {
                string a = null;
@@ -31,6 +35,14 @@ class C
                if (p2 != "x")
                        return 5;
 
+               object arg = null;
+               string result = arg as string ?? "";
+               
+               int? nint = null;
+               int? r = nint ?? null;
+               
+               EventHandler h = new EventHandler (Test) ?? Test;
+               
                return 0;
        }
 }