Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20020129-1.c
blob: c14ac07655ed02738429bf75029db33c30a30f24 [
file
] [
log
] [
blame
]
/* Test call to static variable. */
/* { dg-require-effective-target indirect_calls } */
typedef
struct
{
long
long
a
[
10
];
}
A
;
void
bar
(
A
*);
typedef
int
(*
B
)(
int
);
void
foo
(
void
)
{
static
A a
;
bar
(&
a
);
(*(
B
)&
a
)
(
1
);
}