llvm/test/Assembler/2006-12-09-Cast-To-Bool.ll
Duncan P. N. Exon Smith 13f5c5896d verify-uselistorder: Force -preserve-bc-use-list-order
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216022 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-19 21:08:27 +00:00

8 lines
150 B
LLVM

; RUN: llvm-as < %s | llvm-dis | grep bitcast
; RUN: verify-uselistorder %s
define i1 @main(i32 %X) {
%res = bitcast i1 true to i1
ret i1 %res
}