diff options
Diffstat (limited to 'test/Assembler/2003-11-05-ConstantExprShift.ll')
-rw-r--r-- | test/Assembler/2003-11-05-ConstantExprShift.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/2003-11-05-ConstantExprShift.ll b/test/Assembler/2003-11-05-ConstantExprShift.ll new file mode 100644 index 0000000000..86b093e351 --- /dev/null +++ b/test/Assembler/2003-11-05-ConstantExprShift.ll @@ -0,0 +1,5 @@ +; RUN: llvm-as < %s | llvm-dis + +define i32 @test() { + ret i32 ashr (i32 ptrtoint (i32 ()* @test to i32), i32 2) +} |