svn path=/trunk/mcs/; revision=109144
+++ /dev/null
-// CS0037: Cannot convert null to `bool' because it is a value type
-// Line: 8\r
-
-class X\r
-{\r
- static void Main (string[] args)\r
- {\r
- bool b = args.Length > 0 ? null : null;\r
- }\r
-}\r
--- /dev/null
+// CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `null' and `null'
+// Line: 8\r
+
+class X\r
+{\r
+ static void Main (string[] args)\r
+ {\r
+ bool b = args.Length > 0 ? null : null;\r
+ }\r
+}\r
--- /dev/null
+// CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `null' and `null'
+// Line: 10
+
+using System;
+
+class X
+{
+ static int Main (string[] args)
+ {
+ int[] t = args.Length > 0 ? null : null;
+ return t == null ? 0 : 1;
+ }
+}
--- /dev/null
+// CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `lambda expression' and `lambda expression'
+// Line: 11
+
+using System;
+
+class Test
+{
+ public static void Main ()
+ {
+ bool descending = false;
+ Comparison<int> comp = descending ? ((e1, e2) => e2 < e1) : ((e1, e2) => e1 < e2);
+ }
+}