forked from OSchip/llvm-project
Manually upgrade this test case to make sure that the new cast-to-bool
semantics are retained. llvm-svn: 32813
This commit is contained in:
parent
f8e060f589
commit
5b353d3116
|
@ -1,5 +1,5 @@
|
|||
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep bitcast
|
||||
bool %main(int %X) {
|
||||
%res = cast bool true to bool
|
||||
; RUN: llvm-as < %s | llvm-dis | grep bitcast
|
||||
define bool %main(i32 %X) {
|
||||
%res = bitcast bool true to bool
|
||||
ret bool %res
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue