copying the latest Sys.Web.Services from trunk.
[mono.git] / mcs / errors / cs0230.cs
1 // CS0230.cs: Type and identifier are both required in a foreach statement
2 // Lise: 12
3
4 using System;
5
6 class X
7 {
8         public static void Main()
9         {
10                 int [] a = new int [5] {5, 4, 3, 2, 1};
11                 
12                 foreach (int in a) {
13                         Console.WriteLine (x);
14                 }
15         }
16 }