// 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 : String {
let g = F>) -> {
typealias R = b(self] {
}
f : NSManagedObject {
func b: P {
}
}
print() {
let t: String {
}
func g: NSObject {
}
}
}
struct S {
protocol P {
}
let a {
}
struct c {
struct S {
func b(c: P {
return [unowned self.e = c: A"
var b {
return g<T.d: P> {
var b in a {
}
}
struct c {
for b = {
}
let h = b.e {
