Add a check to catch an incorrect upgrade.

llvm-svn: 32402
diff --git a/llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll b/llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll
new file mode 100644
index 0000000..2ede90a
--- /dev/null
+++ b/llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll
@@ -0,0 +1,5 @@
+; RUN llvm-upgrade < %s | llvm-as
+bool %main(int %X) {
+  %res = cast bool true to bool
+  ret bool %res
+}