https://issues.dlang.org/show_bug.cgi?id=15932
--- Comment #1 from [email protected] --- Explicit code example illustrating this problem: ----- struct S { int[] data; this(int[] _data) { data = _data; } } S makeS() { int[5] data = [ 1, 2, 3, 4, 5 ]; return S(data); } void func(S s) { import std.stdio; writeln("s.data = ", s.data); } void main() { S s = makeS(); func(s); } ----- Expected output: ----- s.data = [1, 2, 3, 4, 5] ----- Actual output (YMMV, depends on details of stack implementation on your platform): ----- s.data = [-580467872, 32764, 1617267003, 21973, 5] ----- --
