1 /* { dg-options "-mgeneral-regs-only" } */
2
3 typedef int v4si __attribute__ ((__vector_size__ ((16))));
4
5 v4si (*foo) ();
6
7 void
8 f0 (v4si *ptr)
9 {
10 *ptr = foo (); /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of vector types" } */
11 }