mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
296 B
Swift
11 lines
296 B
Swift
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -emit-ir -verify %s
|
|
|
|
public struct TestGeneratorCrashy <Key: AnyObject, Value: AnyObject> {
|
|
public mutating func next() -> (Key, Value)? {
|
|
return nil
|
|
}
|
|
}
|
|
|
|
extension TestGeneratorCrashy: IteratorProtocol {
|
|
}
|