mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
16 lines
452 B
Swift
16 lines
452 B
Swift
// RUN: %target-swift-frontend -emit-ir %s
|
|
|
|
public class Clazz {}
|
|
|
|
public protocol SelectableFieldValueProtocol {}
|
|
|
|
public protocol FieldProtocol {
|
|
associatedtype SelectableValue : SelectableFieldValueProtocol
|
|
}
|
|
|
|
public protocol SelectFieldValueCoordinatorDelegate {
|
|
associatedtype Field : Clazz, FieldProtocol
|
|
}
|
|
|
|
public class SelectFieldValueCoordinator<Field, Delegate : SelectFieldValueCoordinatorDelegate> where Field == Delegate.Field {}
|