1; RUN: llvm-link -S -o - %p/pr22807.ll %p/Inputs/pr22807-1.ll %p/Inputs/pr22807-2.ll | FileCheck %s 2 3; CHECK-NOT: type 4; CHECK: %struct.B = type { %struct.A* } 5; CHECK-NEXT: %struct.A = type { %struct.B* } 6; CHECK-NOT: type 7 8%struct.B = type { %struct.A* } 9%struct.A = type opaque 10 11define i32 @baz(%struct.B* %BB) { 12 ret i32 0 13} 14