// 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 S{struct Q<T where g:P{class B{let d=A}}struct A{class d{struct A{struct Q{enum e:BooleanType
