c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / altivec-26.c
blob96369ec54aeaae61864f963fdaa0cc41c7bc30ca
1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-options "-maltivec" } */
3 /* { dg-require-effective-target powerpc_altivec } */
5 /* A compiler implementing context-sensitive keywords must define this
6 preprocessor macro so that altivec.h does not provide the vector,
7 pixel, etc. macros. */
9 #ifndef __APPLE_ALTIVEC__
10 #error __APPLE_ALTIVEC__ not pre-defined
11 #endif