mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
17 lines
206 B
Swift
17 lines
206 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
protocol P1<A> {
|
|
associatedtype A
|
|
}
|
|
|
|
protocol P2<A, B>: P1 {
|
|
associatedtype B
|
|
}
|
|
|
|
protocol P3s {
|
|
associatedtype A
|
|
associatedtype B
|
|
|
|
typealias SelfP2 = P2<B, B>
|
|
}
|