// 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 a: A<T {
func b: X<T> {
func a)] {
}
}
return b(t: CollectionType where I.b {
}
}
protocol c : a {
func a()-> V {
}
protocol a {
}
}
func a: c: d
