1/* PR other/62008 */
2/* { dg-do compile } */
3/* { dg-options "-fcilkplus" } */
4
5void f(int *a, int w, int h)
6{
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 } 8 } */
10}
11