[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-initialize-03.cs
1
2
3 using System;
4 using System.Collections;
5
6 class Data
7 {
8         public int Value;
9 }
10
11 public class Test
12 {
13         static Data Prop {
14                 set {
15                 }
16         }
17         
18         public object Foo ()
19         {
20                 return new Data () { Value = 3 };
21         }
22         
23         public static void Main ()
24         {
25                 Prop = new Data () { Value = 3 };
26                 Data data = new Data () { Value = 6 };
27                 Data a, b;
28                 a = b = new Data () { Value = 3 };
29         }
30 }