mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
607c317488
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10091 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
319 B
Plaintext
14 lines
319 B
Plaintext
; RUN: llvm-as < %s | 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
|
|
}
|
|
|