new testcase for PR490
authorChris Lattner <sabre@nondot.org>
Wed, 29 Dec 2004 03:57:25 +0000 (03:57 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 29 Dec 2004 03:57:25 +0000 (03:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19175 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll [new file with mode: 0644]

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