1; RUN: opt < %s -extract-blocks -disable-output
2define i32 @foo() {
3        br label %EB
4
5EB:             ; preds = %0
6        %V = invoke i32 @foo( )
7                        to label %Cont unwind label %Unw                ; <i32> [#uses=1]
8
9Cont:           ; preds = %EB
10        ret i32 %V
11
12Unw:            ; preds = %EB
13        %exn = landingpad { i8*, i32 } personality i32 (...)* @__gcc_personality_v0
14                 catch i8* null
15        resume { i8*, i32 } %exn
16}
17
18declare i32 @__gcc_personality_v0(...)
19