summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.dg/gdc284.d
blob: 0c39217a37b8db2ee52d006bd4e30552ab7c03b9 (plain)
1
2
3
4
5
6
7
8
9
10
// https://bugzilla.gdcproject.org/show_bug.cgi?id=284
// { dg-additional-options "-mavx" { target avx_runtime } }
// { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }

alias v284 = __vector(int[2]);

v284 test284(v284 a, ...)
{
    return a + a;
}