// 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 A {
return !() -> String {
}
let b : A, f() {
protocol A = 1]("""A: b = { _, i : NSManagedObject {
typealias d : Any, b : start, object2)() {
}
func c(A) {
}
protocol A : d
