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
2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arc
/
va_args-1.c
blob
4a35d122ade4825164956684c462ae3004220a9a
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
/* { dg-additional-sources "abitest.S" } */
4
5
extern
long
tsyscall
(
long int
sysnum
, ...);
6
7
int
main
(
void
)
8
{
9
long
a
;
10
11
a
=
tsyscall
(
1
,
2
,
3
,
4
,
5
,
6
,
7
);
12
13
if
(
a
!=
28
)
14
return
1
;
15
return
0
;
16
}