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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
va-arg-20.c
blob
2e8e5640d8c9043d3523185444f4c5ac29cf550a
1
#include <stdarg.h>
2
3
void
foo
(
va_list
v
)
4
{
5
unsigned long long
x
=
va_arg
(
v
,
unsigned long long
);
6
if
(
x
!=
16LL
)
7
abort
();
8
}
9
10
void
bar
(
char
c
,
char
d
, ...)
11
{
12
va_list
v
;
13
va_start
(
v
,
d
);
14
foo
(
v
);
15
va_end
(
v
);
16
}
17
18
int
main
(
void
)
19
{
20
bar
(
0
,
0
,
16LL
);
21
exit
(
0
);
22
}