// 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

class h<n>: n {
    init(o: n) {
        q o : k {
}
t n : k {
}
t h {
}
struct p : h {
}
m o<o : o, g : h r g o> (f: g) {
}
o(p())
