blob: 1b7c65c806662bdcb62ad9d9bcdf936b9c817bef [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
void
foo (int *x, int *y)
{
int i;
for (i = 0; i < 11; i++)
y[i] = (x[i] == 1) ? i + 1 : -(i + 1);
}
/* { dg-final { cleanup-tree-dump "vect" } } */