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

lass func g<T> () {
class A {
print() -> T) -> T -> Any {
}
enum b : C) {
}
case .a<U {
protocol P {
class a {
}
for b {
protocol A {
}
}
}
}
func b: Array<T.Element>
