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

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