diff --git a/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll b/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll new file mode 100644 index 00000000000..3377fd1fead --- /dev/null +++ b/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll @@ -0,0 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + +int %foo() { + ret int and (int 123456, int cast (int()* %foo to int)) +}