1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-xfail-if "" { "powerpc-*-eabispe*" "powerpc-ibm-aix*" } { "*" } { "" } } */
3 /* { dg-options "-maltivec" } */
6 Compilation of a simple Altivec test program fails if vector, pixel
7 and/or bool are #undefined when compiling with -maltivec. This may be
8 done for building C++ programs that use the STL <vector>. */
17 __vector
unsigned int a
, b
;
25 /* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
26 /* { dg-bogus "(syntax|parse) error before \"pixel\"" "-maltivec" { target powerpc*-*-* } 0 } */
27 /* { dg-bogus "(syntax|parse) error before \"bool\"" "-maltivec" { target powerpc*-*-* } 0 } */