[AArch64] SVE tests
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / mgeneral-regs_1.c
blob1656db5a1bcb91aa31aaf2ce763a00b16de6ff88
1 /* { dg-options "-mgeneral-regs-only" } */
3 typedef int int32x2_t __attribute__ ((__vector_size__ ((8))));
5 /* { dg-error "'-mgeneral-regs-only' is incompatible with vector return type" "" {target "aarch64*-*-*"} .+2 } */
6 /* { dg-error "'-mgeneral-regs-only' is incompatible with vector argument" "" {target "aarch64*-*-*"} .+1 } */
7 int32x2_t test (int32x2_t a, int32x2_t b)
9 return a + b;