// 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 f<T! {
let c == b<T>(n: H) {
protocol C {
let c, U.E == D> () {
}
class A {
typealias B) {
}
}
enum S<T>() {
}
}
func b: T>? = { c, f: Array<U : c: NSObject {
}
}
}
return b: NSManagedObject {
}
class A {
class d: A
