Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-etree-15.cs
1 using System;
2 using System.Linq.Expressions;
3 using System.Collections.Generic;
4
5 static public class Foo
6 {
7         static public int Helper (Expression<Predicate<int>> match)
8         {
9                 return 0;
10         }
11
12         static public void Main ()
13         {
14                 Expression<Action<List<int>>> exp = x => x.Add (Helper (i => true));
15                 exp.Compile () (new List<int> { 1 });
16         }
17 }