Fix -Wreturn-type fallout.
[official-gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / AN / pr57541-2.c
blob89a3d57ebdd129aab2f638c10393be07a946d5b3
1 /* PR middle-end/57541 */
2 /* { dg-do compile } */
3 /* { dg-options "-fcilkplus" } */
5 void foo1 ()
7 int a;
8 a = __sec_reduce_add (1); /* { dg-error "Invalid builtin arguments" } */
11 void foo2 ()
13 int a;
14 a = __sec_reduce_add (); /* { dg-error "Invalid builtin arguments" } */