mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
33 lines
530 B
Swift
33 lines
530 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
|
|
|
|
enum S<e<T -> : d {
|
|
func a(f: C = B, length: (A.Iterator.c] == [self, Any) -> : Array) as String)
|
|
typealias R = "
|
|
class a {
|
|
func i: S) -> Bool {
|
|
}
|
|
}
|
|
protocol C {
|
|
struct c : NSObject {
|
|
extension Array {
|
|
}
|
|
}
|
|
typealias h: a {
|
|
protocol a {
|
|
}
|
|
public var d {
|
|
let c : C = B) {
|
|
}
|
|
}
|
|
}
|
|
enum b {
|
|
}
|
|
class A? {
|
|
}
|
|
func b(c<T.in
|