Files
swift-mirror/validation-test/compiler_crashers_2_fixed/issue-56377.swift

14 lines
364 B
Swift

// RUN: not %target-swift-frontend -emit-ir %s
// https://github.com/apple/swift/issues/56377
public protocol ProtoDelegate where Self.Manager.Delegate: Self {
associatedtype Manager: ProtoManager
func bind(to: Manager)
}
public protocol ProtoManager where Self.Delegate.Manager: Self {
associatedtype Delegate: ProtoDelegate
var name: String { get }
}