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

func f<o>() -> (o, o -> o) -> o {
o m o.j = {
}
{
o) {
r  }
}
p q) {
}
class m {
func r((Any, m))(j: (Any, AnyObject)) {
r(j)
}
}
func m<o {
r m {
}
}
class m: f {
j h) {
}
func j() {
}
func j<d {
enum j {
}
}
struct j<d : Sequencpe> {
var m: d
