// 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 B<T where g=b{
class c{
class B<a
class B
let a=B{
class A{struct B{struct S{
class B{
var f=B{
struct c{
struct d{class A{{}struct c{class A{
struct d{class B{
class B{class d{class d{struct S{{}struct b{
class A{
struct c{{}let a{
var a
