diff options
author | Martin Baulig <martin@novell.com> | 2003-07-28 20:34:12 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2003-07-28 20:34:12 +0400 |
commit | 7338fe5e18a7d286d99816b5e71f21020a4706c8 (patch) | |
tree | 7f704fca0650e9686e49b5e3d66292d712ee92de /mcs/tests/test-210.cs | |
parent | 70098f2e7a48ef6e9c2157c4c811ba39328c5545 (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.cs | 13 |
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) (); + } +} |