repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Inliner pass header file was moved.
[llvm-complete.git]
/
test
/
ExecutionEngine
/
hello2.ll
blob
b186c52e2b5157cf242770fcea4c3c39d8f6b672
1
; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
2
; RUN: lli %t.bc > /dev/null
3
4
5
%X = global int 7
6
%msg = internal global [13 x sbyte] c"Hello World\0A\00"
7
8
9
implementation
10
11
declare void %printf([13 x sbyte]*,...)
12
13
void %bar() {
14
call void([13 x sbyte]*,...)* %printf([13 x sbyte]* %msg)
15
ret void
16
}
17
18
int %main() {
19
call void %bar()
20
ret int 0
21
}
22