// 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
a{class b:a
class B
class d<T where B:Int
struct d<T where g:A{
struct S<T{
class B{
enum B{}
struct B
var _=B
