1 // https://issues.dlang.org/show_bug.cgi?id=22438
2 // { dg-additional-options "-mavx" { target avx_runtime } }
4 // { dg-skip-if "needs gcc/config.d" { ! d_runtime } }
6 struct T22438
{ int x
; double d
; }
8 T22438
foo22438(int x
, double d
) { return T22438(x
, d
); }
10 struct S22438
{ T22438 t
; string r
; }
14 S22438 s
= S22438(foo22438(10, 3.14), "str");
16 assert(s
.t
.d
== 3.14);