mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d3e0faca06
commit
2b905fdb81
13
test/ExecutionEngine/test-ret.ll
Normal file
13
test/ExecutionEngine/test-ret.ll
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
; test return instructions
|
||||||
|
|
||||||
|
void %test() { ret void }
|
||||||
|
sbyte %test() { ret sbyte 1 }
|
||||||
|
ubyte %test() { ret ubyte 1 }
|
||||||
|
short %test() { ret short -1 }
|
||||||
|
ushort %test() { ret ushort 65535 }
|
||||||
|
int %test() { ret int -1 }
|
||||||
|
uint %test() { ret uint 4 }
|
||||||
|
;long %test() { ret void }
|
||||||
|
;ulong %test() { ret void }
|
||||||
|
;float %test() { ret float 1.0 }
|
||||||
|
;double %test() { ret double 2.0 }
|
Loading…
Reference in New Issue
Block a user