mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The signatures have changed here either due to code changes in the repo or due to improvements to the signature detection, update the test cases.
13 lines
350 B
Swift
13 lines
350 B
Swift
// {"kind":"typecheck","signature":"swift::Mangle::ASTMangler::appendRequirement(swift::Requirement const&, swift::GenericSignature, bool)"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a {
|
|
typealias b = Int
|
|
}
|
|
protocol c {
|
|
associatedtype b
|
|
}
|
|
extension a where b == Int
|
|
extension a where Self : c {
|
|
protocol Int : c {
|
|
d
|