mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
29 lines
451 B
Swift
29 lines
451 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
|
|
|
|
class A {
|
|
protocol A {
|
|
}
|
|
class a {
|
|
protocol a {
|
|
class A {
|
|
public var e(f(false)?) {
|
|
func d({
|
|
}
|
|
func a: B<3)
|
|
}
|
|
}
|
|
func ^([c(Any) -> V {
|
|
}
|
|
}
|
|
extension Array {
|
|
}
|
|
return { c()) {
|
|
typealias f == a<T> (A, "
|
|
}
|
|
protocol A {
|
|
class func a<l : a {
|