Tired of wading through cvs's list ? files that are generated when building
[oota-llvm.git] / test / Transforms / ADCE / 2003-09-10-UnwindInstFail.ll
1 ; RUN: llvm-as < %s | opt -adce -disable-output
2
3 implementation   ; Functions:
4
5 void %test() {
6         br bool false, label %then, label %endif
7
8 then:
9         invoke void null( sbyte* null )
10                         to label %invoke_cont except label %invoke_catch
11
12 invoke_catch:
13         unwind
14
15 invoke_cont:
16         ret void
17
18 endif:
19         ret void
20 }