1 ; RUN: opt < %s -deadargelim | llvm-dis
4 define internal { i32, i32 } @foo() {
5 ret {i32,i32} {i32 42, i32 4}
8 define i32 @bar() personality i32 (...)* @__gxx_personality_v0 {
9 %x = invoke {i32,i32} @foo() to label %T unwind label %T2
11 %y = extractvalue {i32,i32} %x, 1
14 %exn = landingpad {i8*, i32}
19 define i32 @bar2() personality i32 (...)* @__gxx_personality_v0 {
21 %x = invoke {i32,i32} @foo() to label %T unwind label %T2
23 %PN = phi i32 [0, %entry]
24 %y = extractvalue {i32,i32} %x, 1
27 %exn = landingpad {i8*, i32}
32 declare i32 @__gxx_personality_v0(...)