mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
31 lines
521 B
Swift
31 lines
521 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
|
|
|
|
right
|
|
import Foundation
|
|
extension NSSet {
|
|
convenience init<T>(array: Array<T>) {
|
|
self.init()
|
|
}
|
|
}
|
|
mutating
|
|
func n<p>() -> (p, p -> p) -> p {
|
|
b, l]
|
|
g(o(q))
|
|
h e {
|
|
j class func r()
|
|
}
|
|
class k: h{ class func r {}
|
|
var = 1
|
|
var s: r -> r t -> r) -> r m
|
|
u h>] {
|
|
u []
|
|
}
|
|
func r(e: () -> ()) {
|
|
}
|
|
class n {
|
|
var _ = r
|