Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | 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 | } |