[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / vector27.C
blob2f29577a4f0ab66ae482d386725ec87779d752fe
1 /* { dg-do compile } */
3 typedef int veci __attribute__ ((vector_size (4 * sizeof (int))));
4 typedef float vecf __attribute__ ((vector_size (4 * sizeof (float))));
6 void f (veci *a, veci *b, int c)
8   *a = !*a || *b < ++c;
10 void g (vecf *a, vecf *b)
12   *a = (*a < 1 && !(*b > 2)) ? *a + *b : 3;