aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
+}