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

7 lines
120 B
LLVM

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