Author: martin
Date: 2005-05-03 10:14:48 -0400 (Tue, 03 May 2005)
New Revision: 43929
Added:
trunk/mcs/tests/2test-19.cs
Modified:
trunk/mcs/tests/Makefile
Log:
New test.
Added: trunk/mcs/tests/2test-19.cs
===================================================================
--- trunk/mcs/tests/2test-19.cs 2005-05-03 14:13:35 UTC (rev 43928)
+++ trunk/mcs/tests/2test-19.cs 2005-05-03 14:14:48 UTC (rev 43929)
@@ -0,0 +1,19 @@
+using System;
+
+delegate void A ();
+
+class DelegateTest {
+ static void Main (string[] argv)
+ {
+ Console.WriteLine ("Test");
+
+ foreach (string arg in argv) {
+ Console.WriteLine ("OUT: {0}", arg);
+ A a = delegate {
+ Console.WriteLine ("arg: {0}", arg);
+ };
+ a ();
+ }
+ }
+}
+
Modified: trunk/mcs/tests/Makefile
===================================================================
--- trunk/mcs/tests/Makefile 2005-05-03 14:13:35 UTC (rev 43928)
+++ trunk/mcs/tests/Makefile 2005-05-03 14:14:48 UTC (rev 43929)
@@ -83,7 +83,7 @@
cls-test-0 cls-test-1 cls-test-2 cls-test-3 cls-test-5 cls-test-7
cls-test-10 \
cls-test-11 cls-test-12 cls-test-14 cls-test-15 cls-test-16 \
2test-1 2test-2 2test-3 2test-4 2test-5 2test-6 2test-7 2test-8
2test-9 2test-10 \
- 2test-11 2test-12 2test-13 2test-14 2test-16 2test-17 2test-18
\
+ 2test-11 2test-12 2test-13 2test-14 2test-16 2test-17 2test-18
2test-19 \
unsafe-1 unsafe-2 unsafe-3 unsafe-5 unsafe-6 unsafe-7 unsafe-8 unsafe-9
unsafe-10 \
mtest-1-dll mtest-1-exe \
mtest-2-dll mtest-2-exe \
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches