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