repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix -Wreturn-type fallout.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
cilk-plus
/
AN
/
pr57541-2.c
blob
89a3d57ebdd129aab2f638c10393be07a946d5b3
1
/* PR middle-end/57541 */
2
/* { dg-do compile } */
3
/* { dg-options "-fcilkplus" } */
4
5
void
foo1
()
6
{
7
int
a
;
8
a
=
__sec_reduce_add
(
1
);
/* { dg-error "Invalid builtin arguments" } */
9
}
10
11
void
foo2
()
12
{
13
int
a
;
14
a
=
__sec_reduce_add
();
/* { dg-error "Invalid builtin arguments" } */
15
}