]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.dg/simd15123.d
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gdc.dg / simd15123.d
1 // https://issues.dlang.org/show_bug.cgi?id=15123
2 // { dg-additional-options "-mavx" { target avx_runtime } }
3 // { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }
4 import core.simd;
5
6 alias TypeTuple(T...) = T;
7
8 void test15123()
9 {
10 alias Vector16s = TypeTuple!(
11 void16, byte16, short8, int4, long2,
12 ubyte16, ushort8, uint4, ulong2, float4, double2);
13 foreach (V; Vector16s)
14 {
15 auto x = V.init;
16 }
17 }