Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
941021-1.c
blob: 9edc390ca7c1145476549531cb37c0c13775dc90 [
file
] [
log
] [
blame
]
void
abort
(
void
);
void
exit
(
int
);
double
glob_dbl
;
void
f
(
pdbl
,
value
)
double
*
pdbl
;
double
value
;
{
if
(
pdbl
==
0
)
pdbl
=
&
glob_dbl
;
*
pdbl
=
value
;
}
int
main
(
void
)
{
f
((
void
*)
0
,
55.1
);
if
(
glob_dbl
!=
55.1
)
abort
();
exit
(
0
);
}