// 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 k:CollectionType
let a{
enum B{struct d{
struct S{let a=0.g
let a{class d<T where f:A{
enum E{struct B{{}struct B<g{class B{class d{var _=B
