c++: fix explicit/copy problem [PR109247]
[official-gcc.git] / gcc / testsuite / gdc.dg / simd10447.d
blobe0064c423068ff5132f9d3d8fefba1834ba0357d
1 // https://issues.dlang.org/show_bug.cgi?id=10447
2 // { dg-additional-options "-mavx" { target avx_runtime } }
3 // { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }
5 void test10447()
7 immutable __vector(double[2]) a = [1.0, 2.0];
8 __vector(double[2]) r;
9 r += a;
10 r = r * a;