aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cilk-plus/array_notation_tests/errors/parser_errors.cc
blob: 760565e42b3a552da2d0554e48f2a35f6c23a4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options } */

int main (int argc, char **argv)
{
  int array[10][10], array2[10];
  
  array2[:] = array2[: ;  /* { dg-error "start index " } */

  return 0;
}