1 /* { dg-do run { target aarch64_sve_hw } } */
2 /* { dg-options "-O2 -ftree-vectorize" } */
3 
4 #include "clastb_2.c"
5 
6 int __attribute__ ((optimize (1)))
main(void)7 main (void)
8 {
9   TYPE a[N] = {
10     11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
11     1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
12     21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
13     31, 32
14   };
15   __builtin_memset (a + 32, 43, (N - 32) * sizeof (TYPE));
16 
17   TYPE ret = condition_reduction (a, 16);
18 
19   if (ret != 10)
20     __builtin_abort ();
21 
22   return 0;
23 }
24