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

int foo1 ()
{
  int a;
  a = __sec_reduce_add (1); /* { dg-error "Invalid builtin arguments" } */
}

int foo2 ()
{
  int a;
  a = __sec_reduce_add (); /* { dg-error "Invalid builtin arguments" } */
}