New generics test.
authorMartin Baulig <martin@novell.com>
Thu, 11 Mar 2004 00:28:51 +0000 (00:28 -0000)
committerMartin Baulig <martin@novell.com>
Thu, 11 Mar 2004 00:28:51 +0000 (00:28 -0000)
svn path=/trunk/mcs/; revision=23904

mcs/tests/gen-41.cs [new file with mode: 0644]

diff --git a/mcs/tests/gen-41.cs b/mcs/tests/gen-41.cs
new file mode 100644 (file)
index 0000000..624fba4
--- /dev/null
@@ -0,0 +1,14 @@
+class Stack<T>
+{
+       public void Hello (int a, params T[] args)
+       { }
+}
+
+class X
+{
+       static void Main ()
+       {
+               Stack<string> stack = new Stack<string> ();
+               stack.Hello (1, "Hello", "World");
+       }
+}