From: Martin Baulig Date: Wed, 29 Nov 2006 20:31:15 +0000 (-0000) Subject: New test. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=a097b5471761180c4aae2dab224ed9caeeae3e86 New test. svn path=/trunk/mcs/; revision=68690 --- a097b5471761180c4aae2dab224ed9caeeae3e86 diff --cc mcs/tests/gtest-anon-15.cs index 00000000000,00000000000..432501e0df5 new file mode 100755 --- /dev/null +++ b/mcs/tests/gtest-anon-15.cs @@@ -1,0 -1,0 +1,32 @@@ ++using System; ++ ++public delegate void Foo (V v); ++ ++public delegate void Bar (W w); ++ ++ ++class Test ++{ ++ public static void Hello (T t, S s) ++ { ++ Foo foo = delegate (long r) { ++ Console.WriteLine (r); ++ Bar bar = delegate (T x) { ++ Console.WriteLine (r); ++ Console.WriteLine (t); ++ Console.WriteLine (s); ++ Console.WriteLine (x); ++ }; ++ bar (t); ++ }; ++ foo (5); ++ } ++} ++ ++class X ++{ ++ static void Main () ++ { ++ Test.Hello ("World", 3.1415F); ++ } ++}