(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
pr58950.C
/* { dg-do compile } */
/* { dg-options "-Wall" } */

void f(){
  int i __attribute__((vector_size(2*sizeof(int)))) = { 2, 3 };
  __builtin_shuffle (i, i); /* { dg-warning "value computed is not used" } */
  ++i?1:0; /* { dg-warning "value computed is not used" } */
}