X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Fgen-51.cs;fp=mcs%2Ftests%2Fgen-51.cs;h=0000000000000000000000000000000000000000;hb=b0eff411fcc55fa6a7bbc5ee97bb592fe3204309;hp=5fc94f7c6e895fe9c375b0d5cfb4e1d07a116445;hpb=796e8a8aae4c2205d8455c26d03389da7386e455;p=mono.git diff --git a/mcs/tests/gen-51.cs b/mcs/tests/gen-51.cs deleted file mode 100644 index 5fc94f7c6e8..00000000000 --- a/mcs/tests/gen-51.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; - -public class Foo - where T : A -{ - public void Test (T t) - { - Console.WriteLine (t); - Console.WriteLine (t.GetType ()); - t.Hello (); - } -} - -public class A -{ - public void Hello () - { - Console.WriteLine ("Hello World"); - } -} - -public class B : A -{ -} - -class X -{ - static void Main () - { - Foo foo = new Foo (); - foo.Test (new B ()); - } -}