llvm-6502/test/Assembler/2006-12-09-Cast-To-Bool.ll

8 lines
150 B
LLVM
Raw Normal View History

; 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
}