// 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 a<d {
struct S {
{
}
let i: d
class a<T where S.d: A {
}
func d: a
