[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs1661-3.cs
1 // CS1661: Cannot convert `anonymous method' to delegate type `System.Predicate<T>' since there is a parameter mismatch
2 // Line: 8
3
4 class Test<T>
5 {
6         void test (Test<T> t, System.Predicate<T> p)
7         {
8                 test (t, delegate (Test<T> item) {
9                         return false;
10                 });
11         }
12 }