aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.dg/simd21672.d
blob: c5bd1df8dbc67906e9c62cdf23dd930b64de08c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// https://bugzilla.gdcproject.org/show_bug.cgi?id=213
// { dg-additional-options "-mavx" { target avx_runtime } }
// { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }

import core.simd;

struct S213
{
    int4 vec;
}

void test213()
{
    S213 s, b;

    assert(s == b);
}