1; RUN: opt < %s -simplifycfg -S | not grep invoke
2
3declare i32 @func(i8*) nounwind
4
5define i32 @test() {
6 invoke i32 @func( i8* null )
7 to label %Cont unwind label %Other ; <i32>:1 [#uses=0]
8
9Cont: ; preds = %0
10 ret i32 0
11
12Other: ; preds = %0
13 ret i32 1
14}
15