[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs8030.cs
1 // CS8030: Anonymous function or lambda expression converted to a void returning delegate cannot return a value
2 // Line: 10
3
4 using System;
5
6 class C
7 {
8         public void Test ()
9         {
10                 Action a = () => { return Skip (); };
11         }
12         
13         void Skip ()
14         {
15         }
16 }