aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/ExecutionEngine/MCJIT/hello.ll
blob: 33b34fb6a7af1985e958519dfc0dc6e202135d69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null

@.LC0 = internal global [12 x i8] c"Hello World\00"		; <ptr> [#uses=1]

declare i32 @puts(ptr)

define i32 @main() {
	%reg210 = call i32 @puts( ptr @.LC0 )		; <i32> [#uses=0]
	ret i32 0
}