/* { dg-do run { target aarch64_sve256_hw } } */ /* { dg-options "-O2 -msve-vector-bits=256" } */ #include "init_7.c" int main() { int a = 10; int b = 11; int c = 12; int d = 13; int e = 14; int f = 15; int g = 16; int h = 17; vnx4si v = foo (a, b, c, d, e, f, g, h); int expected[] = { a, b, c, d, e, f, g, h }; for (int i = 0; i < 8; i++) if (v[i] != expected[i]) __builtin_abort (); return 0; }