// 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

__FUNCTION__
func a<T>() -> (T, T -> T) -> T {
class a {
var _ = i() {
class b<h : c, i : c where h.g == i> : a {
}
class b<h, i> {
}
protocol c {
}
struct A<T> {
}
protocol b {
}
struct c {
}
}
struct c<e> {
}
class k<f>: NSObject {
g(e: f) {
}
}
protocol i : d { func d
