mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
A parse-only option is needed for parse performance tracking and the current option also includes semantic analysis.
12 lines
232 B
Swift
12 lines
232 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
struct Q<T: Collection> : Sequence {
|
|
func makeIterator() -> T.Iterator {
|
|
return base.makeIterator()
|
|
}
|
|
|
|
func _adopt(_ newBuffer: Array<Q<T>.Iterator.Element>) {
|
|
}
|
|
var base: T
|
|
}
|