Files
swift-mirror/validation-test/compiler_crashers_2/2571144ba4dfcd.swift
Hamish Knight 7e22f9264b [test] Update some crasher signatures
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.
2025-07-20 18:32:38 +01:00

14 lines
372 B
Swift

// {"kind":"typecheck","signature":"(anonymous namespace)::TypePrinter::printWithParensIfNotSimple(swift::Type)"}
// 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
}
}