// 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<B == { c<b(t: d {
return self.a(#object1, d>([T : [c> {
func f: C {
}
enum A {
}
}
}
print(a<S : NSObject {
i<T> T: P> (")!)
struct A {
func c(t.Generator.Generator.a<h: ExtensibleCollectionType>) -> {
var b = B(#object1, g == Swift.B
}
override func g.E == a)
}
class b: AnyObject) {
}
[1])?) -> (
