aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.dg/simd21469.d
blob: 9596f5ea0d29369648b2a564956dbd4add7dfeb3 (plain)
1
2
3
4
5
6
7
8
9
// 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;

int4 test21469(short a)
{
    return cast(int4)(short8(a));
}