summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0642-8.cs
blob: 7bfba13cdfd11d976e35d82b0acaa192d58b2295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0642: Possible mistaken empty statement
// Line: 13
// Compiler options: /warnaserror /warn:3
using System;
public class C
{
	public static int p = 0;
	public static void Foo ()
	{
		if (p < 5)
			Console.WriteLine ();
		else
			;
		Console.WriteLine ();
	}
}