mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
4572ce85b0
llvm-svn: 33296
14 lines
334 B
Plaintext
14 lines
334 B
Plaintext
; RUN: llvm-upgrade < %s | llvm-as | lli - test
|
|
|
|
implementation
|
|
|
|
declare int %puts(sbyte*)
|
|
|
|
int %main(int %argc.1, sbyte** %argv.1) {
|
|
%tmp.5 = getelementptr sbyte** %argv.1, long 1 ; <sbyte**> [#uses=1]
|
|
%tmp.6 = load sbyte** %tmp.5 ; <sbyte*> [#uses=1]
|
|
%tmp.0 = call int %puts( sbyte* %tmp.6 ) ; <int> [#uses=0]
|
|
ret int 0
|
|
}
|
|
|