// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing

struct B{
typealias F=b
struct b<T where g:d
class A{
struct B<T where f:d{enum S<T where B:f