llvm-6502/test/Assembler/2006-12-09-Cast-To-Bool.ll
Reid Spencer a14c3f11ac Manually upgrade this test case to make sure that the new cast-to-bool
semantics are retained.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32813 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-02 05:50:11 +00:00

6 lines
127 B
LLVM

; RUN: llvm-as < %s | llvm-dis | grep bitcast
define bool %main(i32 %X) {
%res = bitcast bool true to bool
ret bool %res
}