1/* { dg-do compile { target powerpc*-*-* } } */ 2/* { dg-require-effective-target powerpc_altivec_ok } */ 3/* { dg-options "-maltivec" } */ 4 5/* Check that "volatile" type qualifier is propagated to vector type. */ 6 7#include <altivec.h> 8 9vector float *f (volatile vector float *a) 10{ 11 return a; /* { dg-warning "discards qualifiers" } */ 12} 13 14