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:
authorMartin Baulig <martin@novell.com>2003-07-28 20:34:12 +0400
committerMartin Baulig <martin@novell.com>2003-07-28 20:34:12 +0400
commit7338fe5e18a7d286d99816b5e71f21020a4706c8 (patch)
tree7f704fca0650e9686e49b5e3d66292d712ee92de /mcs/tests/test-210.cs
parent70098f2e7a48ef6e9c2157c4c811ba39328c5545 (diff)
2003-07-28 Martin Baulig <martin@ximian.com>
* test-210.cs: New test for bug #46923. svn path=/trunk/mcs/; revision=16775
Diffstat (limited to 'mcs/tests/test-210.cs')
-rw-r--r--mcs/tests/test-210.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/tests/test-210.cs b/mcs/tests/test-210.cs
new file mode 100644
index 00000000000..76214f5f54f
--- /dev/null
+++ b/mcs/tests/test-210.cs
@@ -0,0 +1,13 @@
+delegate void FooHandler ();
+
+class X
+{
+ public static void foo ()
+ { }
+
+ public static void Main ()
+ {
+ object o = new FooHandler (foo);
+ ((FooHandler) o) ();
+ }
+}