mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
27 lines
486 B
Swift
27 lines
486 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
|
|
|
|
if true as a<f = { self.Type
|
|
typealias B>() -> {
|
|
super.B {
|
|
}
|
|
func c, T : P {
|
|
}
|
|
init <B {
|
|
extension String {
|
|
func x: NSManagedObject {
|
|
}
|
|
extension NSSet {
|
|
func i(A, Any)(")!(c) -> Any) -> U.Iterator.c == [c> () {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
protocol c : Any, Any, A {
|
|
init()
|
|
typealias d: d
|