1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/Linker/pr22807.ll

14 lines
330 B
LLVM
Raw Normal View History

; RUN: llvm-link -S -o - %p/pr22807.ll %p/Inputs/pr22807-1.ll %p/Inputs/pr22807-2.ll | FileCheck %s
; CHECK-NOT: type
; CHECK: %struct.B = type { %struct.A* }
; CHECK-NEXT: %struct.A = type { %struct.B* }
; CHECK-NOT: type
%struct.B = type { %struct.A* }
%struct.A = type opaque
define i32 @baz(%struct.B* %BB) {
ret i32 0
}