[xbuild] Use the env var $MSBuildExtensionsPath before trying other paths.
[mono.git] / mcs / tests / gtest-391.cs
index efe284fe0ba473cc11ddb4fd73362d0f93f1a22c..bea361535af5c5b40f069cd84462d51373bdbce6 100644 (file)
@@ -2,10 +2,14 @@ using System;
 
 class C
 {
-       void Test_1 ()
+       bool Test_1 ()
        {
                bool? xx = null;
-               bool brxx = xx ?? true;
+               return xx ?? true;
+       }
+       
+       static void Test (object s, EventArgs a)
+       {
        }
        
        public static int Main ()
@@ -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;
        }
 }