Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000603-1.c
blob: 9c9f69baf04d1f47584344c31d78b4fb2e273400 [
file
] [
log
] [
blame
]
struct
s1
{
double
d
;
};
struct
s2
{
double
d
;
};
double
f
(
struct
s1
*
a
,
struct
s2
*
b
)
{
a
->
d
=
1.0
;
return
b
->
d
+
1.0
;
}
int
main
()
{
struct
s1 a
;
a
.
d
=
0.0
;
if
(
f
(&
a
,
(
struct
s2
*)&
a
)
!=
2.0
)
abort
();
return
0
;
}