2012-01-16 16:56:09 +08:00
|
|
|
; RUN: %lli %s test
|
2011-08-27 07:39:30 +08:00
|
|
|
; XFAIL: arm
|
2012-01-16 16:56:09 +08:00
|
|
|
; XFAIL: mcjit
|
2003-05-08 04:23:32 +08:00
|
|
|
|
2008-03-10 15:21:50 +08:00
|
|
|
declare i32 @puts(i8*)
|
2003-05-08 04:23:32 +08:00
|
|
|
|
2008-03-10 15:21:50 +08:00
|
|
|
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
|
2003-05-08 04:23:32 +08:00
|
|
|
}
|
|
|
|
|