Author: miguel
Date: 2006-10-20 14:10:58 -0400 (Fri, 20 Oct 2006)
New Revision: 66843

Added:
   trunk/mcs/tests/test-536.cs
Log:
Add test for Martin's patch (see bug 79698)

Added: trunk/mcs/tests/test-536.cs
===================================================================
--- trunk/mcs/tests/test-536.cs 2006-10-20 18:01:56 UTC (rev 66842)
+++ trunk/mcs/tests/test-536.cs 2006-10-20 18:10:58 UTC (rev 66843)
@@ -0,0 +1,17 @@
+public delegate void FooHandler ();
+
+public static class Test
+{
+       private static void OnFooTest ()
+       { 
+       }
+
+       public static event FooHandler Foo;
+
+       public static void Main()
+       {
+               FooHandler foo = delegate {
+                       Foo += OnFooTest;
+               };
+       }
+}


Property changes on: trunk/mcs/tests/test-536.cs
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to