Files
swift-mirror/validation-test/compiler_crashers_2/275b15e1edc79b4f.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

8 lines
400 B
Swift

// {"kind":"typecheck","signature":"swift::ProtocolConformanceRef::getTypeWitness(swift::AssociatedTypeDecl*, swift::SubstOptions) const"}
// RUN: not --crash %target-swift-frontend -typecheck %s
protocol a: Collection where Iterator == Self
struct b<c: a>: IteratorProtocol {next -> c.Element? struct c: a {
struct Element
subscript(Int) Element
func makeIterator -> b<Self>