1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-maltivec -Wall -Wno-unused-but-set-variable" } */
5 /* This test checks if AltiVec builtins accept const-qualified
10 vector unsigned char use_lvsl;
12 int main (int argc, const char * argv[])
17 const vector float cv = (vector float){1.0, 2.0, 3.0, 4.0};
22 use_lvsl = vec_lvsl(0, &cf);