// RUN: not %target-swift-frontend %s -parse
// REQUIRES: asserts

// 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 {
protocol C {
protocol a {
class c : Int {
}
}
class A<h : A : X<T.A<T, q:Any) -> T> : a {
func a
() -> S) -> T.init() {
struct c: String {
}
public var b: d {
}
}
}
}
func c: C {
