Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0041-walkToDeclPost-crash.swift
David Farler b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00

8 lines
156 B
Swift

// RUN: not %target-swift-frontend %s -typecheck
extension Collection {
func f() -> [Generator.Element] {
return Array(self.prefix(0))
}
}