1 ; RUN: opt < %s -verify -S | llvm-as -disable-output
3 define {i32, i8} @foo(i32 %p) {
7 define i8 @f2(i32 %p) {
8 %c = call {i32, i8} @foo(i32 %p)
9 %d = getresult {i32, i8} %c, 1
14 define i32 @f3(i32 %p) {
15 %c = invoke {i32, i8} @foo(i32 %p)
16 to label %L unwind label %L2
18 %d = getresult {i32, i8} %c, 0