1 ; RUN: llvm-link -S %s %p/Inputs/type-unique-unrelated2.ll %p/Inputs/type-unique-unrelated3.ll | FileCheck %s
3 ; CHECK: %t = type { i8* }
5 ; CHECK: define %t @f2() {
6 ; CHECK-NEXT: %x = call %t @f2()
7 ; CHECK-NEXT: ret %t %x
10 ; CHECK: define %t @g2() {
11 ; CHECK-NEXT: %x = call %t @g()
12 ; CHECK-NEXT: ret %t %x
15 ; CHECK: define %t @g() {
16 ; CHECK-NEXT: %x = call %t @f()
17 ; CHECK-NEXT: ret %t %x
20 ; The idea of this test is that the %t in this file and the one in
21 ; type-unique-unrelated2.ll look unrelated until type-unique-unrelated3.ll