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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2005-07-28-IncorrectWeakGlobal.c
blob
7419b19cedb6f6299853a68006cf51088dedb922
1
// RUN: %clang_cc1 %s -emit-llvm -o - | grep TheGlobal | not grep weak
2
3
extern
int
TheGlobal
;
4
int
foo
(
void
) {
return
TheGlobal
; }
5
int
TheGlobal
=
1
;