New test.
authorMartin Baulig <martin@novell.com>
Wed, 4 Oct 2006 20:45:10 +0000 (20:45 -0000)
committerMartin Baulig <martin@novell.com>
Wed, 4 Oct 2006 20:45:10 +0000 (20:45 -0000)
svn path=/trunk/mcs/; revision=66250

1  2 
mcs/tests/test-anon-49.cs

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4ef3c9b44ff9119d195522d4cdf6415557fdfe5c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,17 @@@
++using System;
++using System.Collections;
++
++public class Test
++{
++        public static void Main ()
++        {
++                foreach (object o in new Test ())
++                        Console.WriteLine (o);
++        }
++
++        public IEnumerator GetEnumerator ()
++        {
++                foreach (int i in new ArrayList ())
++                        yield return i;
++        }
++}