repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
CodeGen
/
CBackend
/
2004-12-03-ExternStatics.ll
blob
8acab764d7806dd4d6265b3f5fe687660d4aaedd
1
; RUN: llvm-as < %s | llc -march=c | not grep extern.*msg
2
; PR472
3
4
@msg = internal global [6 x i8] c"hello\00" ; <[6 x i8]*> [#uses=1]
5
6
define i8* @foo() {
7
entry:
8
ret i8* getelementptr ([6 x i8]* @msg, i32 0, i32 0)
9
}
10