svn path=/trunk/mcs/; revision=99116
--- /dev/null
+// CS0464: The result of comparing type `int?' against null is always `false'
+// Line: 10
+// Compiler options: -warnaserror -warn:2
+
+public class X
+{
+ public static bool Compute (int? x)
+ {
+ return x >= null;
+ }
+}
--- /dev/null
+// CS0464: The result of comparing type `int' against null is always `false'
+// Line: 10
+// Compiler options: -warnaserror -warn:2
+
+public class X
+{
+ public static bool Compute (int x)
+ {
+ return x < null;
+ }
+}