Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / gtest-264.cs
blob9f16bf9b600127a9d0967097a1483adb8648cda3
1 public class BaseList<SubType>
3 // without this field instantiation everything works fine.
4 object obj = new object ();
7 public class XXX : BaseList<object>
11 public class Crash
13 public static void Main()
15 // After creating an array, instantiation got broken.
16 XXX [] arr = new XXX [0];
17 // this array creation is OK
18 // BaseList<object> [] arr = new BaseList<object> [0];
20 new BaseList<object> (); // even this causes SISSEGV