[MCJIT] Respect target endianness in RuntimeDyldMachO and RuntimeDyldChecker.
[oota-llvm.git] / test / Assembler / 2006-12-09-Cast-To-Bool.ll
index 74d671b5d91dfb47e9745a75f8ab7af2ecc4b1a8..5bde5ce4cf56135f2692bb306d2f51b29f75607b 100644 (file)
@@ -1,5 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep bitcast
-bool %main(int %X) {
-  %res = cast bool true to bool
-  ret bool %res
+; RUN: llvm-as < %s | llvm-dis | grep bitcast
+; RUN: verify-uselistorder %s -preserve-bc-use-list-order
+
+define i1 @main(i32 %X) {
+  %res = bitcast i1 true to i1
+  ret i1 %res
 }