Add a check to catch an incorrect upgrade.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32402 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-12-09 19:35:43 +00:00
parent 187ccf8d31
commit c96660aef7

View File

@ -0,0 +1,5 @@
; RUN llvm-upgrade < %s | llvm-as
bool %main(int %X) {
%res = cast bool true to bool
ret bool %res
}