mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
27 lines
453 B
Swift
27 lines
453 B
Swift
// 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
|
|
|
|
w
|
|
class x<u>: d {
|
|
l i: u
|
|
init(i: u) {
|
|
o.i = j {
|
|
r { w s "\(f): \(w())" }
|
|
}
|
|
protocol h {
|
|
q k {
|
|
t w
|
|
}
|
|
w
|
|
protocol k : w { func v <h: h m h.p == k>(l: h.p) {
|
|
}
|
|
}
|
|
protocol h {
|
|
n func w(w:
|
|
}
|
|
class h<u : h> {
|