re PR c++/84691 (internal compiler error: in poplevel_class, at cp/name-lookup.c...
[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" } */