// 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<T where g:t{
var d=1
struct B{enum S<T{
struct B{class a{
protocol A:a
