blob: d690130d75be3318ecf2985199afa3c3ede9226e [file] [log] [blame]
// RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
protocol A {
class func d<T>) {
print() {
}
}
class b: b<T>(n: d == e: S) {
}
class a<T : Any) {
func call() {
}
}
class A? {
func c: e<U -> (Any) -> {
}
}
typealias B : a {
return !.f : A {
}
}
func a()