diff options
Diffstat (limited to 'mcs/tests/test-anon-35.cs')
-rw-r--r-- | mcs/tests/test-anon-35.cs | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/mcs/tests/test-anon-35.cs b/mcs/tests/test-anon-35.cs deleted file mode 100644 index 42b6783c7ef..00000000000 --- a/mcs/tests/test-anon-35.cs +++ /dev/null @@ -1,30 +0,0 @@ -// -// This was a bug which was triggered because I removed a routine -// inadvertently. The routine was restored, and now the scopes -// are initialized -// -using System; -using System.Collections; -using System.Reflection; - -public class CustomDict { - ArrayList data; - - public CustomDict() { - foreach (object o in this) - Console.WriteLine (o); - } - - public IEnumerator GetEnumerator() { - if (data != null) - yield return 1; - } -} - -public class Tests -{ - - public static void Main () { - new CustomDict (); - } -} |