// 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{
class A{
struct B{struct A{
protocol f
func a{
struct B{
struct d<T where f:T{
struct B<c:a.c