// 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() -> (t, t -> t) -> t { j j j.o = { } { t) { h } } protocol o { } class j: o{ class func o {} e o { } func n() { b b { } } func n(j: Any, t: Any) -> (((Any, Any) -> Any) -> Any) { k { } } } s} () { } } func e(i: d) -> (() -> f)> protocol d { f e: d { } protocol g : e { func e