1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
2007-01-17 07:59:14 +00:00

21 lines
311 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -adce -disable-output
implementation ; Functions:
void %test() {
br bool false, label %then, label %endif
then:
invoke void null( sbyte* null )
to label %invoke_cont except label %invoke_catch
invoke_catch:
unwind
invoke_cont:
ret void
endif:
ret void
}