[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-initialize-07.cs
1 public class A
2 {
3         public string Name { get; set; }
4         
5         public bool Matches (string s)
6         {
7                 return Name == s;
8         }
9 }
10
11 class M
12 {
13         public static int Main ()
14         {
15                 if (!new A () { Name = "Foo" }.Matches ("Foo"))
16                         return 1;
17                 
18                 return 0;
19         }
20 }