Add setting of The WRAP flag in the Wrap property's set method.
[mono.git] / mcs / tests / gen-29.cs
1 class Stack<T>
2 {
3         T[] t;
4
5         public Stack (int n)
6         {
7                 t = new T [n];
8         }
9
10         public object Test ()
11         {
12                 return t;
13         }
14 }
15
16 class X
17 {
18         static void Main ()
19         {
20                 Stack<int> stack = new Stack<int> (5);
21                 System.Console.WriteLine (stack.Test ());
22         }
23 }