aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-05 19:43:36 +0000
committerChris Lattner <sabre@nondot.org>2003-11-05 19:43:36 +0000
commit26f51d6087d55b2ab86a9ccc81bc267fdd677436 (patch)
tree91129311cd685e298b3a620f0896f06f24899368
parentc4856f37f0c59386368e1fc5313a0ac88baedb7b (diff)
downloadexternal_llvm-26f51d6087d55b2ab86a9ccc81bc267fdd677436.zip
external_llvm-26f51d6087d55b2ab86a9ccc81bc267fdd677436.tar.gz
external_llvm-26f51d6087d55b2ab86a9ccc81bc267fdd677436.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9733 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Assembler/2003-11-05-ConstantExprShift.llx5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/2003-11-05-ConstantExprShift.llx b/test/Assembler/2003-11-05-ConstantExprShift.llx
new file mode 100644
index 0000000..8e79abe
--- /dev/null
+++ b/test/Assembler/2003-11-05-ConstantExprShift.llx
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llvm-dis
+
+int %test() {
+ ret int shr (int cast (int()* %test to int), ubyte 2)
+}