PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / ivdep.C
blob23d51de9fe3d13d0c45e556b0347793bf8a02265
1 /* { dg-do compile } */
3 /* PR other/33426 */
5 void foo(int n, int *a, int *b, int *c, int *d, int *e) {
6   int i, j;
7 #pragma GCC ivdep
8   for (i = 0; ; ++i) { /* { dg-error "missing loop condition in loop with 'GCC ivdep' pragma before ';' token" } */
9     a[i] = b[i] + c[i];
10   }