Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0007-rdar20750480.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

16 lines
161 B
Swift

// RUN: not %target-swift-frontend %s -typecheck
protocol X {
typealias R
}
extension Array : X {
}
let xs = [1,2,3]
func z<A: X>(A) {
}
let ys = z(xs)