Files
swift-mirror/test/Concurrency/Inputs/ImplementationOnlyDefs.swift
2022-07-05 12:45:19 -07:00

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() }
}