diff --git a/test/Assembler/2006-12-09-Cast-To-Bool.ll b/test/Assembler/2006-12-09-Cast-To-Bool.ll new file mode 100644 index 00000000000..2ede90aa1cd --- /dev/null +++ b/test/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 +}