repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2010-12-01-CommonGlobal.c
blob
5eadbae6e3a6854ceb070438330959c69b838926
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
// Don't crash on a common-linkage constant global.
3
extern
const int
kABSourceTypeProperty
;
4
int
foo
(
void
) {
5
return
kABSourceTypeProperty
;
6
}
7
const int
kABSourceTypeProperty
;