aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/cilk-plus/AN/parser_errors4.c
blob: a0efc04d25e57690fa2ed347fba49e5ba084b6db (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 ']' before ':' token" }  */

  return 0;
}