summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1718-3.cs
blob: 8faec5c028514007a852e78debcb6e7fd098fbc9 (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;
		}
	}
}