Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20021205-1.c
blob: 27f458751086a87e3f80551967c5f3a2363a7776 [
file
] [
log
] [
blame
]
/* { dg-require-effective-target indirect_calls } */
typedef
struct
x x
;
extern
void
*
baz
(
char
*);
struct
x
{
char
*
(*
bar
)
(
int
);
};
static
x
**
foo
()
{
return
((
x
**)
baz
(
0
));
}
int
xyzzy
()
{
baz
((*
foo
())->
bar
(
0
));
return
3
;
}