[mcs] Parsing of nested unbound types. Fixes #55400
[mono.git] / mcs / errors / cs1031-3.cs
1 // CS1031: Type expected
2 // Line: 16
3
4 public class B<Y>  where Y: B<Y>
5 {
6 }
7
8 public class A<X>: B<A<X>>
9 {
10 }
11
12 public class Repro
13 {
14         public static void Main (string[] args)
15         {
16                 var h = typeof (B<A<>>);
17         }
18 }