Debian Codegraph @

gcc/testsuite/gdc.dg/gdc213.d

raw
1 // https://bugzilla.gdcproject.org/show_bug.cgi?id=213
2 // { dg-additional-options "-mavx" { target avx_runtime } }
3 // { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }
4
5 import core.simd;
6
7 struct S213
8 {
9 int4 vec;
10 }
11
12 void test213()
13 {
14 S213 s, b;
15
16 assert(s == b);
17 }