summaryrefslogtreecommitdiff
path: root/test/Assembler
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 /test/Assembler
parentc4856f37f0c59386368e1fc5313a0ac88baedb7b (diff)
downloadllvm-26f51d6087d55b2ab86a9ccc81bc267fdd677436.tar.gz
llvm-26f51d6087d55b2ab86a9ccc81bc267fdd677436.tar.bz2
llvm-26f51d6087d55b2ab86a9ccc81bc267fdd677436.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-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 0000000000..8e79abe33a
--- /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)
+}