mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
15 lines
194 B
Swift
15 lines
194 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
struct G<T> {}
|
|
|
|
protocol P {
|
|
associatedtype T
|
|
associatedtype U
|
|
}
|
|
|
|
protocol Q: P where T == G<U> {}
|
|
|
|
protocol R: Q where U == Int {}
|
|
|
|
struct X: R {}
|