mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
25 lines
429 B
Swift
25 lines
429 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
|
|
|
|
typealias C {
|
|
self.<j : () {
|
|
}
|
|
}
|
|
protocol a {
|
|
typealias f : $0) -> T -> {
|
|
0) -> {
|
|
let t: start, e> (T>()) {
|
|
}
|
|
}
|
|
}
|
|
typealias d: b.startIndex)""")
|
|
extension NSSet {
|
|
func f: B(h: c<3] = {
|
|
}
|
|
func a))
|
|
}
|
|
class func b<T,
|