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

class a<T{struct B{struct B<A{
class a<T where g:a{class a{
struct A{
class a{
class A{
class A
let c{func g{
class B<b{
class B:A
