mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
14 lines
356 B
Swift
14 lines
356 B
Swift
// {"signature":"swift::ASTPrinter::printName(swift::Identifier, swift::PrintNameContext, bool)"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a: Collection where Element == b.Element! {
|
|
associatedtype b: Collection
|
|
}
|
|
protocol c {
|
|
associatedtype d: a where d.b: a, d.Element == Self
|
|
}
|
|
func e () {
|
|
func f<e : c>() {
|
|
e.g
|
|
}
|
|
}
|