mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
* swift-api-digester: consider name alias type as a standalone node kind. * [test] Update the swift-api-digester dump for stdlib to honor new name alias node.
14 lines
308 B
Swift
14 lines
308 B
Swift
public struct S1 {
|
|
public static func foo1() {}
|
|
mutating public func foo2() {}
|
|
internal func foo3() {}
|
|
private func foo4() {}
|
|
fileprivate func foo5() {}
|
|
public func foo6() -> Void {}
|
|
}
|
|
|
|
public class C1 {
|
|
open class func foo1() {}
|
|
public weak var Ins : C1?
|
|
public unowned var Ins2 : C1 = C1()
|
|
} |