// 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 d<i>() -> (i, i -> i) -> i {
i j i.f = {
}
protocol d {
}
class i: d{  class func f {}
func o() as o).m.k()
func p(k: b) -> <i>(() -> i) -> b {
}
struct d<d : n, o:j n {
}
protocol o : o {
}
func o<
}
protocol h : e { func e
