Author: martin
Date: 2005-03-17 07:56:54 -0500 (Thu, 17 Mar 2005)
New Revision: 41947

Added:
   trunk/mcs/tests/2test-18.cs
Modified:
   trunk/mcs/tests/Makefile
Log:
New test.


Added: trunk/mcs/tests/2test-18.cs
===================================================================
--- trunk/mcs/tests/2test-18.cs 2005-03-17 12:56:45 UTC (rev 41946)
+++ trunk/mcs/tests/2test-18.cs 2005-03-17 12:56:54 UTC (rev 41947)
@@ -0,0 +1,16 @@
+public class Foo {
+       delegate Inner foo_fn(string s);
+       public static void Main(string[] args)
+       {
+               foo_fn f = delegate (string s) {
+                       return new Inner(s + s);
+               };
+               f (args[0]);
+       }
+
+       class Inner
+       {
+               public Inner (string s)
+               { }
+       }
+}

Modified: trunk/mcs/tests/Makefile
===================================================================
--- trunk/mcs/tests/Makefile    2005-03-17 12:56:45 UTC (rev 41946)
+++ trunk/mcs/tests/Makefile    2005-03-17 12:56:54 UTC (rev 41947)
@@ -79,7 +79,7 @@
        cls-test-0 cls-test-1 cls-test-2 cls-test-3 cls-test-5 cls-test-6 
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-17 \
+       2test-11 2test-12 2test-13 2test-14 2test-17 2test-18 \
        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

Reply via email to