Switch to compiler-tester
[mono.git] / mcs / tests / gen-111.cs
diff --git a/mcs/tests/gen-111.cs b/mcs/tests/gen-111.cs
deleted file mode 100644 (file)
index 847799e..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-using System;
-
-public struct KeyValuePair<K,V>
-{
-       public K key;
-       public V value;
-
-       public KeyValuePair(K k, V v) { key = k; value = v; }
-
-       public KeyValuePair(K k) { key = k; value = default(V); }
-}
-
-public class Collection<T>
-{
-       public readonly T Item;
-
-       public Collection (T item)
-       {
-               this.Item = item;
-       }
-
-       public void Find (ref T item)
-       {
-               item = Item;
-       }
-}
-
-class X
-{
-       static int Main ()
-       {
-               KeyValuePair<int,long> p = new KeyValuePair<int,long> (3);
-               KeyValuePair<int,long> q = new KeyValuePair<int,long> (5, 9);
-
-               Collection<KeyValuePair<int,long>> c = new Collection<KeyValuePair<int,long>> (q);
-               c.Find (ref p);
-
-               if (p.key != 5)
-                       return 1;
-               if (p.value != 9)
-                       return 2;
-
-               return 0;
-       }
-}