// 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 : NSObject {
class c
print(z: Any) {
struct c> == A, Any) {
typealias h: NSObject {
protocol c : d {
}
return self.a(a(AnyObject> Any) {
}
}
}
func b(self, U) { _, ()
self] = {
}
}
class A {
}
}
func e: [[1
return self.advance(c {
