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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
980205.c
blob
da15d3c4dd7408a830e23d9612e6525d020a6ef9
1
#include <stdarg.h>
2
3
void
fdouble
(
double
one
, ...)
4
{
5
double
value
;
6
va_list
ap
;
7
8
va_start
(
ap
,
one
);
9
value
=
va_arg
(
ap
,
double
);
10
va_end
(
ap
);
11
12
if
(
one
!=
1.0
||
value
!=
2.0
)
13
abort
();
14
}
15
16
int
main
()
17
{
18
fdouble
(
1.0
,
2.0
);
19
exit
(
0
);
20
}