Merge pull request #1304 from slluis/mac-proxy-autoconfig
[mono.git] / mcs / tests / test-880.cs
index 6449d56406138d0b839d8e446a0b76dd4e203642..acb4a4d5a862c1fde5915d163dfa9b7f3149387e 100644 (file)
@@ -57,7 +57,18 @@ public class A
        {
                int f = 1;
                int g;
-        return f > 1 && OutCall (out g) && g > 1;
+               return f > 1 && OutCall (out g) && g > 1;
+       }
+
+       static void Test8 ()
+       {
+               bool x = true;
+
+               int a;
+               if (x ? OutCall (out a) : OutCall (out a))
+                       System.Console.WriteLine (a);
+               else
+                       System.Console.WriteLine (a);
        }
 
        static bool OutCall (out int arg)