Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-anon-146.cs
1 using System;
2
3 public class TheClass
4 {
5         static void Foo<T> (T t, Func<T, T> f)
6         {
7                 Func<Func<T>> d = () => {
8                         if (t != null) {
9                                 return () => f (t);
10                         }
11                         
12                         return null;
13                 };
14                 d ();
15         }
16         
17         public static void Main ()
18         {
19                 Foo (1, null);
20         }
21 }