mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
316 B
Swift
12 lines
316 B
Swift
// RUN: not %target-swift-frontend -emit-ir %s
|
|
|
|
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 }
|
|
}
|