| // 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 |
| |
| struct j<l : o> { |
| func a<l>() -> [j<l>] { |
| l j l.n = { |
| } |
| { |
| l) { |
| n } |
| } |
| protocol f { |
| } |
| func a<i>() { |
| b b { |
| } |
| class a<f : b, l : b m f.l == l> { |
| typealias k = a<j<n>, l> |
| var m: Int -> Int = { |
| o: Int = { d, l f |
| }(k, m) |
| class l { |
| } |
| l func d() -> f { |
| } |
| } |
| protocol l : f { func f |
| class k { |
| func l((Any, k))(m } |
| } |
| func j<f: l: e -> |