This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / errors / cs0230.cs
1 //
2 // CS0230.cs: foreach statement must contain the type and the variable identifier
3 //
4
5 using System;
6
7 class X
8 {
9         public static void Main()
10         {
11                 int [] a = new int [5] {5, 4, 3, 2, 1};
12                 
13                 foreach (int in a) {
14                         Console.WriteLine (x);
15                 }
16         }
17 }