// 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 Q<T, AnyObject) {
init() {
enum S<T> Void>() -> T -> T where H) {
func a(f: A {
protocol P {
}
}
}
class A {
let a {
let t: c(g<Q<U : T.a(f)
}
func g.d<U
