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

class a<d{
class A{struct A{
enum b
func g{
class A
class A{
enum e:b
var e:A
