// 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<d{
struct d:d{
}
let d:B
struct Q<T where g:b{
class d<T where g:b