// 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 a<T>() {f {
}
class d: f{  class func i {}
func f() {
}
func prefix(with: String) -> <T>(() -> T) -> String {
}
protoc-> (h, h -> h) -> h {
}
protocol f {
}
func g(f: Int = k) {
}
let i = g
