blob: 288b4153b97c8d5b7cb7c70a0759d13c6f99d686 [file] [log] [blame]
// 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 a(a: a {
return x in c {
}
struct c {
class A, e: a {
}
}
protocol a {
}
}
protocol a {
protocol c in c {
case c: a {
}
}
protocol c : b where d: b: a {
return ")
case .c<c>(n: String {
}
typealias b : d
init(i(self] {
f: A) {
self.join(x) {
return !(true {
}
var b = a() -> Any))
}
}
}
class A : String {
}
protocol a {
}
protocol a {
}
typealias d>()