hanchenye-llvm-project/llvm/test/Assembler/2007-01-01-Cast-To-Bool.ll

6 lines
134 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep {icmp ne}
bool %main(int %X) {
%res = cast bool true to bool
ret bool %res
}