Bump external/ikdasm to master.
[mono-project.git] / mono / tests / arraylist.cs
blobaaf8197c1ec6147ca623429407f46d8af27906ed
1 using System.Collections;
3 namespace Test {
4 public class Test {
5 public static int Main() {
6 ArrayList a = new ArrayList (10);
7 int i = 0;
8 a.Add (0);
9 a.Add (1);
10 a.Add (2);
11 a.Add (3);
12 foreach (int elem in a) {
13 if (elem != i++)
14 return i;
16 return 0;