diff options
Diffstat (limited to 'mcs/tests/gtest-anon-13.cs')
-rwxr-xr-x | mcs/tests/gtest-anon-13.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/tests/gtest-anon-13.cs b/mcs/tests/gtest-anon-13.cs new file mode 100755 index 00000000000..99d55bc821b --- /dev/null +++ b/mcs/tests/gtest-anon-13.cs @@ -0,0 +1,18 @@ +using System; +using System.Runtime.InteropServices; +using System.Collections.Generic; + +class X +{ + public delegate T ModuleBinder<T> (object o); + + public ModuleBinder<TDelegate> CreateMethodUnscoped<TDelegate> () + { + return delegate (object o) { + return (TDelegate)(object)null; + }; + } + + static void Main () + { } +} |