* g++.dg/torture/pr79905.C: Add -maltivec option.
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr79905.C
blobab9d07c63736f440227d6c8936ecc8eb9b241eae
1 // PR target/79905
2 // { dg-do compile { target { powerpc*-*-* } } }
3 // { dg-require-effective-target powerpc_altivec_ok } 
4 // { dg-options "-maltivec" }
6 typedef int V4i __attribute__((vector_size(16)));
7 void a (V4i) {
8   vector int b;
9   a (b);