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
testsuite: Allow matching `{_1, { 0,0,0,0 }}` for vect/slp-gap-1.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
980205.c
blob
486a94b3a47481f9b8348368a749b1b7ec97c914
1
#include <stdarg.h>
2
3
void
abort
(
void
);
4
void
exit
(
int
);
5
6
void
fdouble
(
double
one
, ...)
7
{
8
double
value
;
9
va_list
ap
;
10
11
va_start
(
ap
,
one
);
12
value
=
va_arg
(
ap
,
double
);
13
va_end
(
ap
);
14
15
if
(
one
!=
1.0
||
value
!=
2.0
)
16
abort
();
17
}
18
19
int
main
()
20
{
21
fdouble
(
1.0
,
2.0
);
22
exit
(
0
);
23
}