mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
322 B
Swift
13 lines
322 B
Swift
// RUN: not %target-swift-frontend -typecheck %s
|
|
|
|
public protocol SomeProtocol {}
|
|
|
|
public struct Impl<Param>: SomeProtocol where Param: SomeProtocol {}
|
|
|
|
public struct Wrapper<Content> where Content: SomeProtocol {}
|
|
|
|
public extension Wrapper where Content == Impl<WrapperParam> {
|
|
typealias WrapperParam = SomeProtocol
|
|
}
|
|
|