aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/cilk-plus/CK/pr60469.c
blob: ca0cf7f68bc7616f13b934d5046f0bd50dea87aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR middle-end/60469 */
/* { dg-do compile } */
/* { dg-options "-fcilkplus" } */

void foo() {}

#define ALEN 1024

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