summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0230.cs
blob: c330d083788c07c3f4d44304ae0fc6352222fe75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0230: Type and identifier are both required in a foreach statement
// Line: 12

using System;

class X
{
	public static void Main()
	{
		int [] a = new int [5] {5, 4, 3, 2, 1};
		
		foreach (int ) {
			Console.WriteLine (x);
		}
	}
}