// RUN: not --crash %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 A{
struct S{class a{
class A{struct c{
struct c{{{
}}
enum b{
class d{
{}struct S<T where g:B
}
struct d
func g{
enum B<T where h:a{class A{
let a{{
{
{
{}}
}}
A{
