repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git]
/
test
/
ExecutionEngine
/
hello2.ll
blob
9f060be1c342d584fd4dff19b9005cedeab12695
1
; RUN: lli %s > /dev/null
2
3
@X = global i32 7 ; <i32*> [#uses=0]
4
@msg = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
5
6
declare void @printf([13 x i8]*, ...)
7
8
define void @bar() {
9
call void ([13 x i8]*, ...)* @printf( [13 x i8]* @msg )
10
ret void
11
}
12
13
define i32 @main() {
14
call void @bar( )
15
ret i32 0
16
}
17