mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
275 B
Swift
13 lines
275 B
Swift
open class BSuper {
|
|
public init() { }
|
|
}
|
|
|
|
open class BSub: BSuper {
|
|
public override init() { }
|
|
}
|
|
|
|
open class C {
|
|
@preconcurrency open func f(_: @escaping @Sendable () -> Void) { }
|
|
@preconcurrency open func g(_: @escaping @Sendable () -> Void) -> BSuper { BSuper() }
|
|
}
|