* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / AN / pr62008.c
blobeec57dc0359bbbda358e14ef0974812b2ef0bc18
1 /* PR other/62008 */
2 /* { dg-do compile } */
3 /* { dg-options "-fcilkplus" } */
5 void f(int *a, int w, int h)
7 int tmp[w][h];
8 tmp[:][:] = a[0:w][0:h]; /* { dg-error "base of array section must be pointer or array type" } */
9 /* { dg-error "start-index and length fields necessary" "" { target c } .-1 } */