Sign in
llvm
/
clang
/
14db9fed7ce9427cefa9e066f41dd23b4073e464
/
.
/
test
/
CodeGen
/
weak-incomplete.c
blob: a15dbac03cb7a4d3f8f34c6e836282f8008a1a77 [
file
] [
log
] [
blame
]
// RUN: clang-cc -emit-llvm < %s | grep 'extern_weak' | count 1
struct
S
;
void
__attribute__
((
weak
))
foo1
(
struct
S
);
void
(*
foo2
)(
struct
S
)
=
foo1
;