// 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<gf {
enum e {
func e
q {
}
class gf: q{  w() -> ())
}
func q<y : BooleanType>(gf: y) {
}
func ed(gf: Any, hg: Any) -> (((Any, Any) -> Any) -> Any) {
return {
(ed: (Any, Any) -> Any) -> Any in
func q<q : gf,) {
}
q(e())
i.m == n> {ed func q() { }
}
}
i> {
}
func b(d: y) -> <cb>(() -> cb)() {
func a(hg: v = ih) {
}
func y<y>() -> (y, y -> y) -> y {
q q q.y = {
}
{
y) {
m  }
}
ed y {
}
class q: y{  class func y {}
e y<q : e> {
}
func q<f>() {
hg hg {
}
}
func q(q: Any, y: Any) -> (((Any, Any) -> Any) -> Any) {
w {
}
}
func hg(ed: (((gf, Any) -> Any) -> Any)
