Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0199-issue-52030.swift

17 lines
370 B
Swift

// RUN: %target-swift-frontend -emit-ir -primary-file %s %S/Inputs/issue-52030-other.swift -module-name foo
// https://github.com/apple/swift/issues/52030
protocol P {
associatedtype A
typealias T = S1<Self>
}
struct S1<G: P>: Sequence, IteratorProtocol {
mutating func next() -> G.A? {
return nil
}
}
func f(_: LazyFilterSequence<S3.T>) { }