aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/dfp/altivec-types.c
blob: e11ddc5e883acb4b43ecbbde1334c4f7abd0d523 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile { target { powerpc*-*-linux* && powerpc_altivec_ok } } } */
/* { dg-options "-maltivec" } */

/* GNU extension: PowerPC AltiVec Built-in Functions.
   These should be rejected as invalid AltiVec types.  */

__vector _Decimal32 vd32;		/* { dg-error "AltiVec types" "" } */
__vector _Decimal64 vd64;		/* { dg-error "AltiVec types" "" } */
__vector _Decimal128 vd128;		/* { dg-error "AltiVec types" "" } */