svn path=/trunk/mcs/; revision=52087
@@ -0,0 +1,15 @@
+// cs1718.cs: Comparison made to same variable; did you mean to compare something else?
+// Line: 10
+// Compiler options: -warnaserror -warn:3
+
+class C
+{
+ public static void Main ()
+ {
+ int a = 20;
+ if (a > a) {
+ return;
+ }
+}
@@ -40,3 +40,4 @@ cs1540-5.cs NO ERROR # new in GMCS
cs1586.cs
cs1641.cs
cs1666.cs NO ERROR
+cs1718.cs NO ERROR