mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Add more testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,6 +7,10 @@ int %main() {
|
|||||||
; cast bool to ...
|
; cast bool to ...
|
||||||
cast bool true to bool
|
cast bool true to bool
|
||||||
cast bool true to int
|
cast bool true to int
|
||||||
|
cast bool true to long
|
||||||
|
cast bool true to ulong
|
||||||
|
cast bool true to float
|
||||||
|
cast bool true to double
|
||||||
|
|
||||||
; cast sbyte to ...
|
; cast sbyte to ...
|
||||||
cast sbyte 0 to sbyte
|
cast sbyte 0 to sbyte
|
||||||
@@ -46,10 +50,12 @@ int %main() {
|
|||||||
cast long 0 to double
|
cast long 0 to double
|
||||||
|
|
||||||
; cast float to ...
|
; cast float to ...
|
||||||
|
;cast float 0.0 to bool
|
||||||
cast float 0.0 to float
|
cast float 0.0 to float
|
||||||
cast float 0.0 to double
|
cast float 0.0 to double
|
||||||
|
|
||||||
; cast double to ...
|
; cast double to ...
|
||||||
|
;cast double 0.0 to bool
|
||||||
cast double 0.0 to sbyte
|
cast double 0.0 to sbyte
|
||||||
cast double 0.0 to ubyte
|
cast double 0.0 to ubyte
|
||||||
cast double 0.0 to short
|
cast double 0.0 to short
|
||||||
|
Reference in New Issue
Block a user