Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2006-10-20 22:10:58 +0400
committerMiguel de Icaza <miguel@gnome.org>2006-10-20 22:10:58 +0400
commit7508c3d91b751a8bebf855c202395396aaeff707 (patch)
treed7fb7dee93647b57146b8346b30c5f92daeadb3e /mcs/tests/test-536.cs
parent0f2238457869587c60e0969c03515a0bad19ef79 (diff)
Add test for Martin's patch (see bug 79698)
svn path=/trunk/mcs/; revision=66843
Diffstat (limited to 'mcs/tests/test-536.cs')
-rw-r--r--mcs/tests/test-536.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/tests/test-536.cs b/mcs/tests/test-536.cs
new file mode 100644
index 00000000000..e4a2e5e8126
--- /dev/null
+++ b/mcs/tests/test-536.cs
@@ -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;
+ };
+ }
+}