blob: f347d6fa3b28d19618e4988a068f6d344f7bd7bc [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 f<T) -> {
extension NSSet {
protocol P {
var _ = { c> ()
}
func a(A, x }(.advance()
return self)(i() -> (""ab"
}
class A {
case s: A {
}
protocol c : c: NSObject {
}
let c = a<c, f: l.advance(a: S<T>
class a")
func a