1 ; RUN: opt < %s -inline -disable-output 2 3 declare i32 @External() 4 5 define internal i32 @Callee() { 6 %I = call i32 @External( ) ; <i32> [#uses=2] 7 %J = add i32 %I, %I ; <i32> [#uses=1] 8 ret i32 %J 9 } 10 11 define i32 @Caller() { 12 %V = invoke i32 @Callee( ) 13 to label %Ok unwind label %Bad ; <i32> [#uses=1] 14 15 Ok: ; preds = %0 16 ret i32 %V 17 18 Bad: ; preds = %0 19 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 20 cleanup 21 ret i32 0 22 } 23 24 declare i32 @__gxx_personality_v0(...) 25 26