mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
25 lines
525 B
Swift
25 lines
525 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
|
|
|
|
func g<d.Type) -> {
|
|
class C(object1, a
|
|
typealias F>(a("
|
|
class B : C {
|
|
func g(b.endIndex - range.e> String {
|
|
}
|
|
}
|
|
enum A : Collection where B : Array) -> : AnyObject.e = f.join() -> T>(A<T ->) { c()
|
|
typealias B {
|
|
typealias e = D>) {
|
|
})
|
|
var f: Sequence> Int {
|
|
func c, T where B == true }
|
|
class A {
|
|
}
|
|
}
|
|
}
|
|
map(x) {
|