aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Assembler/2003-05-21-ConstantShiftExpr.ll3
1 files changed, 3 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 0000000000..0a4f8c2228
--- /dev/null
+++ b/test/Assembler/2003-05-21-ConstantShiftExpr.ll
@@ -0,0 +1,3 @@
+; Test that shift instructions can be used in constant expressions.
+
+global int shl (int 7, ubyte 19)