Merge pull request #1861 from saper/home-override
[mono-project.git] / mcs / tests / gtest-575.cs
blobff1cc0f071be4b353d4a701fbfd38c1431c96536
1 using System;
3 public class C<T1> where T1 : B<T1>, new ()
5 public void Test ()
7 using (var a = new T1 ()) {
12 public class B<T2> : IDisposable
14 void IDisposable.Dispose ()
19 public class Test : B<Test>
21 public static void Main ()
23 new C<Test> ().Test ();