| // 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 |
| |
| } |
| class p { |
| u _ = q() { |
| } |
| } |
| u l = r |
| u s: k -> k = { |
| n $h: m.j) { |
| } |
| } |
| o l() { |
| ({}) |
| } |
| struct m<t> { |
| let p: [(t, () -> ())] = [] |
| } |
| protocol p : p { |
| } |
| protocol m { |
| o u() -> String |
| } |
| class j { |
| o m() -> String { |
| n "" |
| } |
| } |
| class h: j, m { |
| q o m() -> String { |
| n "" |
| } |
| o u() -> S, q> { |
| } |
| protocol u { |
| typealias u |
| } |
| class p { |
| typealias u = u |