blob: c7bcc5450b09b4214490dcbef321d79bd9ffc3ea [file] [log] [blame]
Peter Collingbournefbb662f2013-01-16 17:27:22 +00001; RUN: %lli_mcjit %s test
Danil Malyshevbb8cef52012-05-17 21:07:47 +00002
3declare i32 @puts(i8*)
4
5define i32 @main(i32 %argc.1, i8** %argv.1) {
6 %tmp.5 = getelementptr i8** %argv.1, i64 1 ; <i8**> [#uses=1]
7 %tmp.6 = load i8** %tmp.5 ; <i8*> [#uses=1]
8 %tmp.0 = call i32 @puts( i8* %tmp.6 ) ; <i32> [#uses=0]
9 ret i32 0
10}
11