Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
nest-stdar-1.c
blob: 492670b5a1e729c5a2d32f98049ff6708120fc2a [
file
] [
log
] [
blame
]
#include
<stdarg.h>
main
()
{
double
f
(
int
x
,
...)
{
va_list args
;
double
a
;
va_start
(
args
,
x
);
a
=
va_arg
(
args
,
double
);
va_end
(
args
);
return
a
;
}
if
(
f
(
1
,
(
double
)
1
)
!=
1.0
)
abort
();
exit
(
0
);
}