Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2006-10-05 00:45:10 +0400
committerMartin Baulig <martin@novell.com>2006-10-05 00:45:10 +0400
commit07ec1253c277856bdbb74213e2defc8ed23cf8e3 (patch)
treedccd5c404cd4fccbddef542e438b6020fd09921f /mcs/tests/test-anon-49.cs
parentf84f760a1c8a8c0ec6ae16b7f38d14a49d329ad7 (diff)
parent848d6c3548549d61230f975f713227c71c3adbd1 (diff)
New test.
svn path=/trunk/mcs/; revision=66250
Diffstat (limited to 'mcs/tests/test-anon-49.cs')
-rw-r--r--mcs/tests/test-anon-49.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/tests/test-anon-49.cs b/mcs/tests/test-anon-49.cs
new file mode 100644
index 00000000000..4ef3c9b44ff
--- /dev/null
+++ b/mcs/tests/test-anon-49.cs
@@ -0,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;
+ }
+}