blob: 661cce7622110b8ea1101d14d8461570cb4c60d4 [file] [log] [blame]
/* Origin: Aldy Hernandez <aldyh@redhat.com> */
/* Test rs6000_legitimate_address. PRE_INC should be invalid. */
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
/* { dg-options "-maltivec" } */
#include <altivec.h>
vector signed short *hannah;
int
main ()
{
*hannah++ = __builtin_altivec_vspltish (5);
*hannah++ = __builtin_altivec_vspltish (6);
return 0;
}