diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-29 03:57:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-29 03:57:25 +0000 |
commit | 5a23c8bbdb3085d99217d520948ad56b6be51b17 (patch) | |
tree | c91e2efd5832d6e1af68e5771efeb6db0219720b /test/CodeGen/CBackend | |
parent | 96e5436e9b84f4c15d7fe5df5160754eb23fcefd (diff) | |
download | external_llvm-5a23c8bbdb3085d99217d520948ad56b6be51b17.zip external_llvm-5a23c8bbdb3085d99217d520948ad56b6be51b17.tar.gz external_llvm-5a23c8bbdb3085d99217d520948ad56b6be51b17.tar.bz2 |
new testcase for PR490
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CBackend')
-rw-r--r-- | test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll | 5 |
1 files changed, 5 insertions, 0 deletions
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 0000000..3377fd1 --- /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)) +} |