aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-11-05-ConstantExprShift.ll
blob: ddfcecaff5a367e7e87152b8865262a53ad8b405 (plain)
1
2
3
4
5
6
; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s

define i32 @test() {
        ret i32 ashr (i32 ptrtoint (i32 ()* @test to i32), i32 2)
}