mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
342 B
Swift
12 lines
342 B
Swift
// {"kind":"emit-silgen","signature":"swift::Mangle::ASTMangler::appendConstrainedExistential(swift::Type, swift::GenericSignature, swift::ValueDecl const*)","stackOverflow":true}
|
|
// RUN: not --crash %target-swift-frontend -emit-silgen %s
|
|
protocol a<b> {
|
|
associatedtype b
|
|
}
|
|
struct c: a {
|
|
typealias b = c
|
|
}
|
|
func d() -> a<some a> {
|
|
c()
|
|
}
|