New test.
authorMarek Safar <marek.safar@gmail.com>
Wed, 10 Nov 2010 17:52:43 +0000 (17:52 +0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 10 Nov 2010 17:57:08 +0000 (17:57 +0000)
mcs/errors/gcs0464-3.cs [new file with mode: 0644]

diff --git a/mcs/errors/gcs0464-3.cs b/mcs/errors/gcs0464-3.cs
new file mode 100644 (file)
index 0000000..5c4632b
--- /dev/null
@@ -0,0 +1,11 @@
+// CS0464: The result of comparing type `int?' with null is always `false'
+// Line: 9
+// Compiler options: -warnaserror -warn:2
+
+public class X
+{
+       public static bool Compute ()
+       {
+               return null >= null;
+       }
+}