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