// 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{class A{
var _=[1
}}{
struct B{
struct c<T where h:d{
struct Q{struct A{class b<T{let a=c
struct c
struct c
