// 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

extension Array {
typealias R = a<T.Element>(Any) {
return self.Generator..E == "](((b(bytes: S<T : C> a {
extension NSData {
struct e {
}
func d: (2, y: NSObject {
}
func f() -> Any {
public var e> {
}
return g: Any, AnyObject) -> {
}
}
struct c {
}("""foo")
func e> T -> Any) -> {
}
return { _, AnyObject)-> String {
A? = b: a {
}
}
}
for (A>) -> {
extension String {
typealias e == { c<T {
class A>) -> A : T, x }
}
}
protocol a {
extension NSData {
}
}
typealias A {
protocol A {
static let v: b = b({
}
i<T>, "")
}
}
}
let h : A where T, AnyObject.A, f(n: AnyObject) -> {
typealias B == true }
}
func d<b: d wh
