llvm.org GIT mirror llvm / release_22 test / CodeGen / Generic / 2007-02-25-invoke.ll
release_22

Tree @release_22 (Download .tar.gz)

2007-02-25-invoke.ll @release_22raw · history · blame

; RUN: llvm-as < %s | llc

; PR1224

declare i32 @test()
define i32 @test2() {
        %A = invoke i32 @test() to label %invcont unwind label %blat
invcont:
        ret i32 %A
blat:
        ret i32 0
}