// 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 impor { return "" } class func b() { struct c { static let d: String = { return self.a() } } func b(c) -> (() -> d) { } struct d() -> T -> T { return { x in x } } } protocol P { func f()(T) -> T }