| // 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 |
| |
| protocol c { |
| class A { |
| if true { |
| func f: NSObject { |
| enum A { |
| } |
| if c = c(v: NSObject { |
| } |
| f = b: e == T) { |
| func compose<T: C { |
| } |
| typealias e = c() -> V { |
| func a(f: A: A { |
| } |
| var d where T>) -> { |
| let d<T : P { |
| } |
| let c: P { |
| } |
| protocol c = e, V>: Array) { |
| } |
| self] { |
| print() -> { |
| } |
| protocol P { |
| } |
| } |
| var b = { |
| protocol P { |
| } |
| } |
| enum S<T) { |
| return g<T>: A() { |
| } |
| deinit { |
| } |
| } |
| } |
| } |
| } |
| } |
| extension NSSet { |
| } |
| } |
| } |
| var e: e!.e == c: String = compose(false) |
| protocol P { |
| } |
| typealias e : e == ni |