// 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) {
class A {
class A {
class A {
let n1: c<B : d {
}
convenience init(()) {
typealias b {
}
struct c(self)) in c == j> {
enum S<T, c, self.f == 0] as String) {
init <c, AnyObject) {
}
}
protocol c {
}
enum A {
}
}
}
class func f):
class B : a {
typealias f = A> Any, Any, x }
}
class a()
p
