Fix bug #566087.
[mcs.git] / tests / gtest-014.cs
blob69b232d21fd2dbc042e0fc45492d9c740140ace5
1 public class Stack<S>
3 public Stack (S s)
4 { }
6 public void Push (S s)
7 { }
10 public class X
12 static void Main ()
14 Stack<int> s1 = new Stack<int> (3);
15 s1.Push (4);
17 Stack<string> s2 = new Stack<string> ("Hello");
18 s2.Push ("Test");