Merge pull request #4202 from marek-safar/compression
[mono-project.git] / mcs / tests / gtest-551.cs
blob694398e3a346ad2d0521513242f4804bd6e4031f
1 using System;
3 class Base<T> where T : new ()
5 protected readonly T field = new T ();
8 class Derived<T> : Base<T> where T : ICloneable, new ()
10 public Derived()
12 field.Clone();
16 class C : ICloneable
18 public object Clone ()
20 return null;
23 public static void Main ()
25 var a = new Derived<C> ();