Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr102518.c
blob: bd181ec9d99eaa2252109b5b407c6ce15309a651 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
struct
A
{
int
*
x
;
};
int
i
;
int
f
(
int
*
const
c
)
{
struct
A
*
b
=
(
struct
A
*)(&
c
);
return
b
->
x
!=
0
;
}
void
g
()
{
f
(&
i
);
}