diff options
author | Martin Baulig <martin@novell.com> | 2006-05-10 21:52:35 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2006-05-10 21:52:35 +0400 |
commit | 14c057a374b4b3de635585b2fb6a53e6e2734203 (patch) | |
tree | fbd8ae1416900759181100b25e90d3099335a683 /mcs/tests/gtest-267.cs | |
parent | f5d793cab42ce36765b10a480b9f18511ed11667 (diff) |
New test.
svn path=/trunk/mcs/; revision=60534
Diffstat (limited to 'mcs/tests/gtest-267.cs')
-rw-r--r-- | mcs/tests/gtest-267.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/tests/gtest-267.cs b/mcs/tests/gtest-267.cs new file mode 100644 index 00000000000..61947b79a97 --- /dev/null +++ b/mcs/tests/gtest-267.cs @@ -0,0 +1,17 @@ +using System; + +public delegate void Handler <T> (T t); + +public class T { + public void Foo <T> (Handler <T> handler) { + AsyncCallback d = delegate (IAsyncResult ar) { + Response <T> (handler); + }; + } + + void Response <T> (Handler <T> handler) {} + + static void Main () + { } +} + |