aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/cilk-plus/CK/pr60469.c
blob: 670df17faa2c56b5268e5c05b2accd9453a78287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR middle-end/60469 */
/* { dg-do compile } */
/* { dg-options "-fcilkplus -fdump-tree-original" } */

void foo() {}

#define ALEN 1024

int main(int argc, char* argv[])
{
  int b[ALEN];
  b[:] = 100;
  _Cilk_spawn foo();
  return 0;
}

/* The C++ FE once emitted a bogus error_mark_node for this test case.  */
/* { dg-final { scan-tree-dump-not "<<< error >>>" "original" } } */