1 /* { dg-do compile { target powerpc-*-eabi* } } */
2 /* { dg-options "-mspe=yes" } */
4 /* Test vectors that can interconvert without a cast. */
7 int vint
__attribute__((vector_size (8)));
8 short vshort
__attribute__((vector_size (8)));
9 float vfloat
__attribute__((vector_size (8)));
14 __ev64_opaque__ george
= { 1, 2 }; /* { dg-error "opaque vector types cannot be initialized" } */
18 vfloat
= vshort
; /* { dg-error "incompatible types in assignment" } */
20 /* Just because this is a V2SI, it doesn't make it an opaque. */
21 vint
= vshort
; /* { dg-error "incompatible types in assignment" } */