projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Convert tabs to spaces
[oota-llvm.git]
/
test
/
ExecutionEngine
/
hello2.ll
1
; RUN: llvm-as -f %s -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 %printf([13 x sbyte]* %msg)
15
ret void
16
}
17
18
int %main() {
19
call void %bar()
20
ret int 0
21
}
22