mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
13 lines
193 B
D
13 lines
193 B
D
// REQUIRED_ARGS: -mcpu=avx2
|
|
import core.simd;
|
|
|
|
static if (__traits(compiles, double4))
|
|
{
|
|
double4 foo();
|
|
void test(double[4]);
|
|
|
|
void main()
|
|
{
|
|
test(foo().array);
|
|
}
|
|
}
|