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

7 lines
120 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: llvm-as < %s | llvm-dis | grep bitcast
define i1 @main(i32 %X) {
%res = bitcast i1 true to i1
ret i1 %res
}