mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
25 lines
452 B
Swift
25 lines
452 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
|
|
|
|
protocol B : A {
|
|
protocol A {
|
|
typealias B : C() -> U) -> a {
|
|
}
|
|
enum A {
|
|
protocol c {
|
|
}
|
|
func e(m(f, f.<T : T> : c {
|
|
enum b in a {
|
|
}
|
|
}
|
|
var f.b = Int>(""a""")
|
|
}
|
|
}
|
|
map():Any) -> Void>(c()
|
|
class A : Range("
|
|
override init(Any, A.startIndex)?
|