aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2007-01-01-Cast-To-Bool.ll
blob: 263515152d9541f62fc638f974d7ddd8e2c37a1a (plain)
1
2
3
4
5
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep {icmp ne}
bool %main(int %X) {
  %res = cast bool true to bool
  ret bool %res
}