mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
196 B
Swift
12 lines
196 B
Swift
public protocol PP {}
|
|
public protocol QQ {}
|
|
|
|
public class AA : PP {}
|
|
public class BB : AA {}
|
|
|
|
public struct DD<T: PP> {}
|
|
|
|
public struct CC<T: PP> {
|
|
public var x: DD<T> { fatalError("death") }
|
|
}
|