aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/cilk-plus/AN/pr61455-2.c
blob: 60b424873d9ce6e330070e697f8b5dd9c3f7974b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR c++/61455 */
/* { dg-options "-fcilkplus" } */

int a[3] = {2, 3, 4};

int main ()
{
  int c = 10;
  int b = __sec_reduce_add(a[:]);
  if (b+c != 19)
    __builtin_abort();
  return 0;
}