blob: bb4ca2b4ccfb02204349d61d20fc083c52db3110 [file] [log] [blame]
Rafael Espindolab6fd95a2015-03-06 00:50:21 +00001; 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}