summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1718.cs
blob: 0e9299c4653389835542eb616ab8c21b1a2e7409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS1718: A 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;
		}
	}
}