blob: 4326ff64c189a50f49d69149a1c1af9ba0fd541d [file] [log] [blame]
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-options "-mdejagnu-cpu=power8" } */
#include <altivec.h>
vector unsigned long long int
main ()
{
vector unsigned long long int test, res;
const int s0 = 0;
int mask;
/* Argument 2 must be 0 or 1. Argument 3 must be in range 0..15. */
res = vec_shasigma_be (test, 1, 0xff); /* { dg-error {argument 3 must be a literal between 0 and 15, inclusive} } */
return res;
}