1/* { dg-do compile { target powerpc*-*-* } } */
2/* { dg-require-effective-target powerpc_altivec_ok } */
3/* { dg-options "-maltivec" } */
4
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.  */
8
9#ifndef __APPLE_ALTIVEC__
10#error __APPLE_ALTIVEC__ not pre-defined
11#endif
12