// 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 d<T where g:c{class A{func f{f=(x{struct c{protocol P{class b{struct c{class B{let a{{func a{{func c{{protocol P{struct f{{}let:{{func e(){{b:{func A{var:
