aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2006-12-09-Cast-To-Bool.ll
blob: 91abe770a41cc0c10e53634972417bd2daa81aae (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | llvm-dis | grep bitcast
; RUN: verify-uselistorder %s

define i1 @main(i32 %X) {
  %res = bitcast i1 true to i1
  ret i1 %res
}