diff options
Diffstat (limited to 'gcc/testsuite/c-c++-common/cilk-plus/AN/pr57541-2.c')
-rw-r--r-- | gcc/testsuite/c-c++-common/cilk-plus/AN/pr57541-2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/c-c++-common/cilk-plus/AN/pr57541-2.c b/gcc/testsuite/c-c++-common/cilk-plus/AN/pr57541-2.c index 83325a77501..89a3d57ebdd 100644 --- a/gcc/testsuite/c-c++-common/cilk-plus/AN/pr57541-2.c +++ b/gcc/testsuite/c-c++-common/cilk-plus/AN/pr57541-2.c @@ -2,13 +2,13 @@ /* { dg-do compile } */ /* { dg-options "-fcilkplus" } */ -int foo1 () +void foo1 () { int a; a = __sec_reduce_add (1); /* { dg-error "Invalid builtin arguments" } */ } -int foo2 () +void foo2 () { int a; a = __sec_reduce_add (); /* { dg-error "Invalid builtin arguments" } */ |