mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
402 B
Swift
13 lines
402 B
Swift
// {"kind":"typecheck","signature":"swift::Mangle::ASTMangler::appendExistentialLayout(swift::ExistentialLayout const&, swift::GenericSignature, swift::ValueDecl const*)","stackOverflow":true}
|
|
// 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
|