mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
27 lines
417 B
Swift
27 lines
417 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
|
|
|
|
d = i
|
|
}
|
|
class d<j : i, f: i where j.i == f> : e {
|
|
}
|
|
class d<j, f> {
|
|
}
|
|
protocol i {
|
|
typealias i
|
|
}
|
|
protocol e {
|
|
class func i()
|
|
}
|
|
i
|
|
(d() ere h.f }
|
|
}
|
|
a)
|
|
func a<b:a
|
|
class a {
|
|
typealias b = b
|
|
}
|