1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/CodeGen/Generic/2007-02-25-invoke.ll
Jim Laskey 1c9a412982 Test for PR1224.
llvm-svn: 34609
2007-02-25 21:43:21 +00:00

13 lines
202 B
LLVM

; 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
}