| // This source file is part of the Swift.org open source project |
| // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors |
| // Licensed under Apache License v2.0 with Runtime Library Exception |
| // |
| // See http://swift.org/LICENSE.txt for license information |
| // See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors |
| |
| // RUN: not %target-swift-frontend %s -parse |
| 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 -> |