Sign in
llvm
/
llvm-archive
/
b74e25f9042d5657e8f400dd820eba426827f1dd
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gcc.apple
/
StaticInit.c
blob: c65327238e953f767ad11bbe6f4aaa67fd4c8333 [
file
] [
log
] [
blame
]
/* LLVM LOCAL file */
/* { dg-do run } */
static
int
(*
foo
)(
long
int
key
);
static
int
bar
(
long
int
key
)
{
foo
=
0
;
return
key
;
}
static
int
(*
foo
)(
long
int
key
)
=
bar
;
int
main
()
{
foo
(
123
);
return
0
;
}