projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Checkin of autoconf-style object root.
[oota-llvm.git]
/
test
/
Linker
/
2003-04-21-Linkage.ll
1
; RUN: echo "%X = linkonce global int 5 implementation linkonce int %foo() { ret int 7 }" | as > %t.1.bc
2
; RUN: as < %s > %t.2.bc
3
; RUN: link %t.[12].bc
4
%X = external global int
5
6
implementation
7
8
declare int %foo()
9
10
void %bar() {
11
load int* %X
12
call int %foo()
13
ret void
14
}
15