Closed
Description
On Ubuntu 14.04 using current HEAD (71f4199), the following program outputs 0 in debug but seemingly random values in release. On Windows, both debug and release output 0.
struct S0
{
public ushort F0;
}
struct S1
{
public S0 F0;
public ushort F1;
}
public class Program
{
static S1 s_36;
public static void Main()
{
s_36.F0 = M113();
System.Console.WriteLine(s_36.F1);
}
static S0 M113()
{
return new S0();
}
}