1 /* { dg-do compile { target powerpc*-*-linux* } } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-require-effective-target powerpc_altivec_ok } */
4 /* { dg-options "-maltivec -mno-vsx" } */
6 /* These should be rejected for 64-bit code. */
8 __vector
long vl
; /* { dg-error "invalid for 64" } */
9 __vector
unsigned long vul
; /* { dg-error "invalid for 64" } */
10 __vector
signed long vsl
; /* { dg-error "invalid for 64" } */
11 __vector __bool
long int vbli
; /* { dg-error "invalid for 64" } */
12 __vector
long int vli
; /* { dg-error "invalid for 64" } */
13 __vector
unsigned long int vuli
; /* { dg-error "invalid for 64" } */
14 __vector
signed long int vsli
; /* { dg-error "invalid for 64" } */