* Makefile.in (C_COMMON_OBJS): Depend on c-cilkplus.o.
[official-gcc.git] / gcc / testsuite / gcc.dg / cilk-plus / for1.c
blob4fb534286d9a636dd91e13e6e74260b4ac9378b2
1 /* { dg-do compile } */
3 int *a, *b, *c;
5 void foo()
7 int i, j;
8 // The initialization shall declare or initialize a *SINGLE* variable.
9 #pragma simd
10 for (i=0, j=5; i < 1000; i++) // { dg-error "expected ';' before ','" }
11 a[i] = b[j];