From 365fa36cf9e76790932679d9047798137b1fa34a Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 29 Nov 2006 20:31:15 +0000 Subject: [PATCH] New test. svn path=/branches/martin/anonymous-methods2/work/; revision=68690 --- mcs/work/test-martin-5.cs | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100755 mcs/work/test-martin-5.cs diff --git a/mcs/work/test-martin-5.cs b/mcs/work/test-martin-5.cs deleted file mode 100755 index 432501e0df5..00000000000 --- a/mcs/work/test-martin-5.cs +++ /dev/null @@ -1,32 +0,0 @@ -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); - } -} -- 2.25.1