// RUN: not --crash %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

{
class A
func a{struct Q<d where B:A{
func f
class A
class A{
}
struct B{
var _=f=A
