Merge pull request #1861 from saper/home-override
[mono-project.git] / mcs / tests / gtest-155.cs
bloba6a77d3d38c8c481d6460fdff55148ca9b06770d
1 public interface IBase
3 void DoSomeThing();
6 public interface IExtended : IBase
8 void DoSomeThingElse();
11 public class MyClass<T> where T: IExtended, new()
13 public MyClass()
15 T instance = new T();
16 instance.DoSomeThing();
20 class X
22 public static void Main ()
23 { }