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
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
Integer
/
globalredefinition_bt.ll
blob
b369b2a5d800cde913054679e60e2cc539e2d42d
1
; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
2
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3
; RUN: diff %t1.ll %t2.ll
4
5
; Test forward references and redefinitions of globals
6
7
@A = global i17* @B
8
@B = global i17 7
9
10
declare void @X()
11
12
declare void @X()
13
14
define void @X() {
15
ret void
16
}
17
18
declare void @X()