2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / tests / test-anon-15.cs
blob9a865b1e8894b73589797bc005e57bc6fe9b63b9
1 public class Foo {
2 delegate Inner foo_fn(string s);
3 public static void Main()
5 foo_fn f = delegate (string s) {
6 return new Inner(s + s);
7 };
8 f ("Test");
11 class Inner
13 public Inner (string s)
14 { }