// 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 a{
struct B{
struct B<T where g:P{
struct B{
var _=c
}
struct c
class c{
struct B{protocol P{
struct B{class B{
a
