Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / gtest-048.cs
blob99f3b27595501c03a51ca7eca6b218ba7ab47ab6
1 // This fixed a problem in the JIT.
3 public class Stack<T>
5 T[] data;
7 public Stack ()
9 data = new T [10];
12 public void Add (T t)
14 data [0] = t;
18 struct Foo
20 int a;
23 class X
25 public static void Main ()
27 Foo foo = new Foo ();
28 Stack<Foo> stack = new Stack<Foo> ();
29 stack.Add (foo);