// RUN: %target-swift-frontend -emit-ir -verify %s public struct TestGeneratorCrashy { public mutating func next() -> (Key, Value)? { return nil } } extension TestGeneratorCrashy: IteratorProtocol { }