2003-10-10 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Thu, 9 Oct 2003 23:24:19 +0000 (23:24 -0000)
committerMartin Baulig <martin@novell.com>
Thu, 9 Oct 2003 23:24:19 +0000 (23:24 -0000)
* gen-15.cs: New test for generic methods.

svn path=/trunk/mcs/; revision=18835

mcs/tests/ChangeLog
mcs/tests/README.tests
mcs/tests/gen-15.cs [new file with mode: 0644]

index d1e5f94ae28cb6428f76277c5247cfb342d4fd66..8280af3efa07c708fb7f367f3c3d297a0f188365 100755 (executable)
@@ -1,3 +1,7 @@
+2003-10-10  Martin Baulig  <martin@ximian.com>
+
+       * gen-15.cs: New test for generic methods.
+
 2003-09-29  Martin Baulig  <martin@ximian.com>
 
        * gen-14.cs: New generics test.
index babf5ba188460b00c6be8f13fe8da3324443bd64..f5212676f5774c874aeb5d2a5b5159045d31d37e 100644 (file)
@@ -465,3 +465,8 @@ gen-10.cs:
 ----------
 
 `where T : I, J' - I is an inferface, J a class.
+
+gen-15.cs:
+----------
+
+Generic methods.
diff --git a/mcs/tests/gen-15.cs b/mcs/tests/gen-15.cs
new file mode 100644 (file)
index 0000000..40f5c24
--- /dev/null
@@ -0,0 +1,14 @@
+class Stack<S>
+{
+       public static void Hello<T,U> (S s, T t, U u)
+       {
+               U v = u;
+       }
+}
+
+class X
+{
+       static void Main ()
+       {
+       }
+}