do not check order sequence if option /order was not used
[mono.git] / mcs / tests / gtest-048.cs
1 // This fixed a problem in the JIT.
2
3 public class Stack<T>
4 {
5         T[] data;
6
7         public Stack ()
8         {
9                 data = new T [10];
10         }
11
12         public void Add (T t)
13         {
14                 data [0] = t;
15         }
16 }
17
18 struct Foo
19 {
20         int a;
21 }
22
23 class X
24 {
25         static void Main ()
26         {
27                 Foo foo = new Foo ();
28                 Stack<Foo> stack = new Stack<Foo> ();
29                 stack.Add (foo);
30         }
31 }