PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / g++.dg / pr58950.C
blob10a2032440f012885c4b58b5cef1272a3e9d94c0
1 /* { dg-do compile } */
2 /* { dg-options "-Wall" } */
4 void f(){
5   int i __attribute__((vector_size(2*sizeof(int)))) = { 2, 3 };
6   __builtin_shuffle (i, i); /* { dg-warning "value computed is not used" } */
7   ++i?1:0; /* { dg-warning "value computed is not used" } */