Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
a3aef788ec802875e26fc014a4040a024eb2b506
/
.
/
clang
/
test
/
CodeGen
/
weak-incomplete.c
blob: a15dbac03cb7a4d3f8f34c6e836282f8008a1a77 [
file
] [
log
] [
blame
]
Eli Friedman
895771a
2009-05-26 01:22:57 +0000
[
diff
] [
blame
]
1
// RUN: clang-cc -emit-llvm < %s | grep 'extern_weak' | count 1
2
3
struct
S
;
4
void
__attribute__
((
weak
))
foo1
(
struct
S
);
5
void
(*
foo2
)(
struct
S
)
=
foo1
;