YouCompleteMe/cpp/llvm/test/Assembler/2006-12-09-Cast-To-Bool.ll
2012-07-05 17:51:06 -07:00

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
}