llvm-project/llvm/test/Assembler/2003-11-05-ConstantExprShif...

7 lines
151 B
LLVM
Raw Normal View History

2008-02-14 15:57:12 +08:00
; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s
2003-11-06 03:43:36 +08:00
2008-02-14 15:57:12 +08:00
define i32 @test() {
ret i32 ashr (i32 ptrtoint (i32 ()* @test to i32), i32 2)
2003-11-06 03:43:36 +08:00
}