* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / tests / gtest-078.cs
1 using System;
2 using System.Collections;
3
4 public class Test
5 {
6         public static void Main ()
7         {
8                 foreach (object o in new Test ())
9                         Console.WriteLine (o);
10         }
11
12         public IEnumerator GetEnumerator ()
13         {
14                 foreach (int i in new ArrayList ())
15                         yield return i;
16         }
17 }