For PR1043:
[oota-llvm.git] / test / Transforms / ConstProp / 2006-12-01-TruncBoolBug.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'ret i1 false'
2 bool %test() {
3   %X = trunc uint 320 to bool
4   ret bool %X
5 }