aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.dg/simd18867.d
blob: 295b0f84f7d518ede635a828a14f13eed6db0862 (plain)
1
2
3
4
5
6
7
8
9
10
11
// https://issues.dlang.org/show_bug.cgi?id=18867
// { dg-additional-options "-mavx" { target avx_runtime } }
// { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }
import core.simd;

ulong2 test18867(ulong s)
{
    ulong2 v;
    v[0] = s;
    return v;
}