1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/CodeGen/Generic/2004-02-08-UnwindSupport.ll
Chris Lattner c310b1f1f3 rename *.llx -> *.ll
llvm-svn: 49970
2008-04-19 22:29:10 +00:00

18 lines
328 B
LLVM

; RUN: llvm-as < %s | llc -enable-correct-eh-support
define i32 @test() {
unwind
}
define i32 @main() {
%X = invoke i32 @test( )
to label %cont unwind label %EH ; <i32> [#uses=0]
cont: ; preds = %0
ret i32 1
EH: ; preds = %0
ret i32 0
}