// 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 g<T! {
class A {
protocol b in c {
return p: end: e(")
enum S) -> Any) -> T) -> {
for b {
protocol C {
}
let d) {
}
var b, U) -> : T : a {
}
}
let h.init() {
class a {
}
}
}
func b: T.Element =
