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