mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 06:06:19 +00:00
New testcase for problem that is actually generic to all 32 bit LLI targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5cdfbad72d
commit
761b47180e
16
test/ExecutionEngine/2003-05-07-ArgumentTest.llx
Normal file
16
test/ExecutionEngine/2003-05-07-ArgumentTest.llx
Normal file
@ -0,0 +1,16 @@
|
||||
; RUN: as < %s | lli -force-interpreter=false - test
|
||||
|
||||
target endian = little
|
||||
target pointersize = 32
|
||||
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user