repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git]
/
test
/
Transforms
/
GlobalDCE
/
2002-07-17-ConstantRef.ll
blob
740f7201a348aefb768a6f876886dffb7011e4ad
1
; RUN: opt < %s -globaldce
2
;
3
4
@X = global void ()* @func ; <void ()**> [#uses=0]
5
6
; Not dead, can be reachable via X
7
define internal void @func() {
8
ret void
9
}
10
11
define void @main() {
12
ret void
13
}