// 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 { typealias E } struct B() {f { class func i() } class d: f{ class func i {} func f() { ({}) } func prefix(with: String) -> (() -> T) -> String { return { g in "\(with): \(g())" } } protocol a : a { }