mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
26 lines
281 B
Swift
26 lines
281 B
Swift
public struct Rain {
|
|
public init() {}
|
|
|
|
#if BEFORE
|
|
public func doIt() {}
|
|
#endif
|
|
}
|
|
|
|
public class Snow {
|
|
public init() {}
|
|
|
|
#if BEFORE
|
|
public final func doIt() {}
|
|
#endif
|
|
}
|
|
|
|
#if AFTER
|
|
extension Rain {
|
|
public func doIt() {}
|
|
}
|
|
|
|
extension Snow {
|
|
public func doIt() {}
|
|
}
|
|
#endif
|