Switch to compiler-tester
[mono.git] / mcs / tests / gen-73.cs
diff --git a/mcs/tests/gen-73.cs b/mcs/tests/gen-73.cs
deleted file mode 100644 (file)
index aa7165c..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-class MyList<T> : IEnumerable<T>
-{
-       public IEnumerator<T> GetEnumerator ()
-       {
-               yield break;
-       }
-
-       IEnumerator IEnumerable.GetEnumerator ()
-       {
-               return GetEnumerator ();
-       }
-}
-
-struct Foo<T>
-{
-       public readonly T Data;
-  
-       public Foo (T data)
-       {
-               this.Data = data;
-       }
-}
-
-class X
-{
-       static void Main ()
-       {
-               MyList<Foo<int>> list = new MyList <Foo<int>> ();
-               foreach (Foo<int> foo in list)
-                       ;
-       }
-}