New test.
authorMartin Baulig <martin@novell.com>
Fri, 1 Jul 2005 16:23:05 +0000 (16:23 -0000)
committerMartin Baulig <martin@novell.com>
Fri, 1 Jul 2005 16:23:05 +0000 (16:23 -0000)
svn path=/trunk/mcs/; revision=46838

mcs/tests/known-issues-gmcs
mcs/tests/test-anon-30.cs [new file with mode: 0755]

index ddbd3298a49f3cab77463a8d282bc172fe4d9223..c84a16ed5b24140f8d1d1f737f3fe350ce366369 100644 (file)
@@ -13,3 +13,5 @@ test-anon-27.cs
 test-xml-027.cs
 
 gtest-179.cs
+
+test-422.cs
diff --git a/mcs/tests/test-anon-30.cs b/mcs/tests/test-anon-30.cs
new file mode 100755 (executable)
index 0000000..7cb601d
--- /dev/null
@@ -0,0 +1,21 @@
+class X {
+       public bool eh;
+}
+
+static class Program {
+       delegate void D (X o);
+       static event D E;
+       
+       static void Main()
+       {
+               bool running = true;
+
+               E = delegate(X o) {
+                       o.eh = false;
+                       running = false;
+               };
+
+               running = true;
+               
+       }
+}