1 /* { dg-options "-mgeneral-regs-only" } */
2
3 typedef int int32x2_t __attribute__ ((__vector_size__ ((8))));
4
5 /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of vector types" "" {target "aarch64*-*-*"} .+1 } */
6 int32x2_t test (int32x2_t a, int32x2_t b)
7 {
8 return a + b;
9 }