diff options
Diffstat (limited to 'llvm/test/Assembler/2003-05-21-ConstantShiftExpr.ll')
-rw-r--r-- | llvm/test/Assembler/2003-05-21-ConstantShiftExpr.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/Assembler/2003-05-21-ConstantShiftExpr.ll b/llvm/test/Assembler/2003-05-21-ConstantShiftExpr.ll new file mode 100644 index 00000000000..42331d398de --- /dev/null +++ b/llvm/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) |