blob: a1fe38480c6ee3f4e3ff73b8dbe5e14823f221db [file] [log] [blame]
; RUN: not llvm-link -S -o - %p/pr22807.ll %p/Inputs/pr22807-1.ll %p/Inputs/pr22807-2.ll 2>&1 | FileCheck %s
; CHECK: error: identified structure type 'struct.A' is recursive
%struct.B = type { %struct.A }
%struct.A = type opaque
define i32 @baz(%struct.B %BB) {
ret i32 0
}