Sign in
llvm
/
llvm-archive
/
276bde03595d52e26812d2712817bc876da8ee7b
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20020129-1.c
blob: 7b17ba475e488a1876a13edf400495c65784ed74 [
file
] [
log
] [
blame
]
/* Test call to static variable. */
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
);
}