aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-05-21-ConstantShiftExpr.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2003-05-21-ConstantShiftExpr.ll')
-rw-r--r--test/Assembler/2003-05-21-ConstantShiftExpr.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/2003-05-21-ConstantShiftExpr.ll b/test/Assembler/2003-05-21-ConstantShiftExpr.ll
new file mode 100644
index 0000000..42331d3
--- /dev/null
+++ b/test/Assembler/2003-05-21-ConstantShiftExpr.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
+
+; Test that shift instructions can be used in constant expressions.
+
+global int shl (int 7, ubyte 19)