llvm-project/llvm/test/Assembler/2003-11-05-ConstantExprShift.ll
Nikita Popov 75a479221b [Assembler] Convert tests to opaque pointers (NFC)
Some tests are removed because the error conditions can no longer
occur with opaque pointers.
2022-12-13 14:36:21 +01:00

7 lines
147 B
LLVM

; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s
define i32 @test() {
ret i32 ashr (i32 ptrtoint (ptr @test to i32), i32 2)
}