[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0221-12.cs
1 // CS0221: Constant value `-3' cannot be converted to a `ushort' (use `unchecked' syntax to override)
2 // Line: 12
3
4 class C
5 {
6         delegate void D ();
7
8         static void Main ()
9         {
10                 D d = checked (delegate {
11                         const ushort s = (ushort) -3;
12                 });
13         }
14 }