// 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 func e (((Any, Any) -> Any) -> Any) { return { (p: (Any, Any) -> Any) -> Any in func n { } func n() { b b { } } func n(j: Any, t: Any) -> (((Any, Any) -> Any) -> Any) { k { } } } struct c { } func b() -> [T] { } } class d: NSObject { init(b: c) { } } } class f

: n { } class f { } protocol k { } o: i where k.j == f> {l func k() { } } func k Int = { } } snit(foo: T) { } } } import { { f } } protocol f { class func c() } class e: f { class func c