[netcore] Implement/fix enum/nullable comparers.
[mono-project.git] / mono / tests / bug-599469.cs
blob51c7c1f87f1fd7db3240bdcc743d2051a8340f87
1 public class Grid<CT>
2 where CT : Grid<CT>.GPD.GC, new()
4 public abstract class GPD
6 public GPD()
8 ctInst = new CT();
11 public readonly CT ctInst;
13 public abstract class GC
19 public class H : Grid<H.MyCT>.GPD
21 public class MyCT : GC
23 // When no explicit default constructor is present GMCS fails to compile the file.
24 // When it is present the execution crashes on mono.
25 public MyCT () {}
29 public class TheTest
31 public static void Main (string[] args)
33 new H();