[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / c-c++-common / torture / pr79731.c
blobcde26554b15c6d8857fc361c468d620a94126888
1 /* { dg-do compile } */
2 /* { dg-additional-options "-Wno-psabi -w" } */
4 typedef unsigned V __attribute__ ((vector_size (8)));
6 foo (unsigned x, V v)
8 do {
9 v %= x;
10 x = 1;
11 } while (v[1]);
12 return v;
14 void fn2 ()
16 V x = foo (5, (V) { 0, 1 });
17 if (x[0] || x[1] || x[2] || x[3]);