[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-named-07.cs
1 class C
2 {
3         static int Foo (object arg, bool b1 = false, bool b2 = false, bool b3 = true, object o2 = null)
4         {
5                 if ((int) arg != 1)
6                         return 1;
7                 
8                 if (b1)
9                         return 2;
10                 
11                 if (b2)
12                         return 3;
13                 
14                 if (!b3)
15                         return 4;
16                 
17                 if ((string) o2 != "s")
18                         return 5;
19                 
20                 return 0;
21         }
22         
23         public static int Main ()
24         {
25                 object o = "s";
26                 return Foo (1, b3 : true, o2 : o);
27         }
28 }