Updated with review feedback.
[mono.git] / mcs / tests / gtest-508.cs
1 using T = A<int>;
2
3 class B : T
4 {
5         public B (int i)
6                 : base (i)
7         {
8         }
9
10         public static void Main ()
11         {
12                 T t = new B (4);
13         }
14 }
15
16 class A<T> where T : struct
17 {
18         protected A(T t)
19         {
20         }
21 }