Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr44946.c
blob: 7b23012458591a5a50dfc6bac22441f60f0febcc [
file
] [
log
] [
blame
]
struct
A
{
int
i
;
long
l
;
};
struct
B
{
int
i
;
};
struct
C
{
int
i
;
struct
B b
;
};
struct
B foo
(
struct
A a
)
{
struct
C
*
c
=
(
struct
C
*)
&
a
;
return
c
->
b
;
}
void
bar
(
struct
A a
,
struct
B b
)
{
struct
C
*
c
=
(
struct
C
*)
&
a
;
c
->
b
=
b
;
}