summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/cilk-plus/AN/parser_errors.c
blob: a0a3742f5df1d789f827bbc27ca53d0a6e626b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-fcilkplus" } */

int main (void)
{
  int array[10][10], array2[10];
  
  array2[:] = array2[: ;  /* { dg-error "expected ']'" } */

  return 0;
} /* { dg-error "expected ';' before" } */