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

protocol c {
struct B {
}
struct B<f : a {
{
}
}
func a<T where T : A
}
class a<T where B : d {
let end = a<d
