summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine/2003-05-07-ArgumentTest.ll
blob: f3cf3b61f902d50271febe9ed5b01cf8af1c358f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: lli %s test
; XFAIL: arm
; FIXME: ExecutionEngine is broken for ARM, please remove the following XFAIL when it will be fixed.

declare i32 @puts(i8*)

define i32 @main(i32 %argc.1, i8** %argv.1) {
	%tmp.5 = getelementptr i8** %argv.1, i64 1		; <i8**> [#uses=1]
	%tmp.6 = load i8** %tmp.5		; <i8*> [#uses=1]
	%tmp.0 = call i32 @puts( i8* %tmp.6 )		; <i32> [#uses=0]
	ret i32 0
}

OpenPOWER on IntegriCloud