// RUN: not %target-swift-frontend %s -parse
// 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 Q{struct B<T where B:a{{}struct B{struct S{func a{return[T:a{}var d{class a{:}}
