1; RUN: opt < %s -simplifycfg -disable-output
2
3define i1 @foo() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
4	%X = invoke i1 @foo( )
5			to label %N unwind label %F		; <i1> [#uses=1]
6F:		; preds = %0
7        %val = landingpad { i8*, i32 }
8                 catch i8* null
9	ret i1 false
10N:		; preds = %0
11	br i1 %X, label %A, label %B
12A:		; preds = %N
13	ret i1 true
14B:		; preds = %N
15	ret i1 true
16}
17
18declare i32 @__gxx_personality_v0(...)
19