Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-153.cs
1 public interface IBase
2 {
3         void DoSomeThing();
4 }
5
6 public interface IExtended : IBase
7 {
8         void DoSomeThingElse();
9 }
10
11 public class MyClass<T> where T: IExtended, new()
12 {
13         public MyClass()
14         {
15                 T instance = new T();
16                 instance.DoSomeThing();
17         }
18 }
19
20 class X
21 {
22         public static void Main ()
23         { }
24 }