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

protocol P {
class A {
private class func g(AnyObject, f, object2: Array) -> : A {
struct D : c>(array: c: AnyObject) {
}
typealias h> S<A? {
class A : e: P> Self {
class A where T]() {
}
}
}
}
}
func f() {
func f: A")
typealias e : e
