mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
142428ce64
llvm-svn: 81293
18 lines
318 B
LLVM
18 lines
318 B
LLVM
; RUN: llc < %s -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
|
|
}
|
|
|