// 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

struct c : a<U {
protocol b {
typealias B : b
func b: String {
let end = c: AnyObject, let h: d : [").Type) -> Void>?
}
func b<U) {
typealias C {
}
}
var d : b() {
