repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
va-arg-26.c
blob
8221e9c42a53cc90f812077a8711c2623d71cfbb
1
#include <stdarg.h>
2
3
double
f
(
float
f1
,
float
f2
,
float
f3
,
float
f4
,
4
float
f5
,
float
f6
, ...)
5
{
6
va_list
ap
;
7
double
d
;
8
9
va_start
(
ap
,
f6
);
10
d
=
va_arg
(
ap
,
double
);
11
va_end
(
ap
);
12
return
d
;
13
}
14
15
int
main
()
16
{
17
if
(
f
(
1
,
2
,
3
,
4
,
5
,
6
,
7.0
) !=
7.0
)
18
abort
();
19
exit
(
0
);
20
}