Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
083128f6b13dfa4fc615a838c49b516d901b1ac0
/
.
/
test
/
CodeGen
/
weak-incomplete.c
blob: a15dbac03cb7a4d3f8f34c6e836282f8008a1a77 [
file
] [
log
] [
blame
]
Eli Friedman
c6c14d1
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
;