2 // This test is used for testing the foreach array support
7 static int test_single (int [] a)
19 int [] a = new int [10];
20 int [] b = new int [2];
22 for (int i = 0; i < 10; i++)
25 for (int j = 0; j < 2; j++)
28 if (test_single (a) != 145)
31 if (test_single (b) != 101)