summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-16 19:43:11 +0000
committerChris Lattner <sabre@nondot.org>2003-01-16 19:43:11 +0000
commit20c1b4db395cf513230e19f2348e3cb97e9fb7fa (patch)
tree3dde95d959656fe33dc4e08a9aea482e929aa1a7 /test/ExecutionEngine
parent9085d8a9a9000eeaa7cf337ccbdca41d528c99c2 (diff)
downloadllvm-20c1b4db395cf513230e19f2348e3cb97e9fb7fa.tar.gz
llvm-20c1b4db395cf513230e19f2348e3cb97e9fb7fa.tar.bz2
llvm-20c1b4db395cf513230e19f2348e3cb97e9fb7fa.tar.xz
Add more testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine')
-rw-r--r--test/ExecutionEngine/test-cast.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ExecutionEngine/test-cast.ll b/test/ExecutionEngine/test-cast.ll
index a0d6403a1b..21270a361d 100644
--- a/test/ExecutionEngine/test-cast.ll
+++ b/test/ExecutionEngine/test-cast.ll
@@ -7,6 +7,10 @@ int %main() {
; cast bool to ...
cast bool true to bool
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 0 to sbyte
@@ -46,10 +50,12 @@ int %main() {
cast long 0 to double
; cast float to ...
+ ;cast float 0.0 to bool
cast float 0.0 to float
cast float 0.0 to double
; cast double to ...
+ ;cast double 0.0 to bool
cast double 0.0 to sbyte
cast double 0.0 to ubyte
cast double 0.0 to short