mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
18 lines
402 B
Swift
18 lines
402 B
Swift
private struct Base {
|
|
private func bar() {}
|
|
}
|
|
|
|
struct Value {
|
|
}
|
|
|
|
extension Value {
|
|
fileprivate func foo() {}
|
|
}
|
|
|
|
struct Internal {
|
|
private(set) var internalVarWithPrivateSetter : Int = 0
|
|
fileprivate(set) var internalVarWithFilePrivateSetter : Int = 0
|
|
public private(set) var publicVarWithPrivateSetter : Int = 0
|
|
public fileprivate(set) var publicVarWithFilePrivateSetter : Int = 0
|
|
}
|