mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
20 lines
212 B
Swift
20 lines
212 B
Swift
public func getVersion() -> Int {
|
|
#if BEFORE
|
|
return 0
|
|
#else
|
|
return 1
|
|
#endif
|
|
}
|
|
|
|
public enum ResilientEnum {
|
|
case first
|
|
case second
|
|
|
|
#if AFTER
|
|
@_weakLinked case third
|
|
#endif
|
|
|
|
case fourth
|
|
case fifth
|
|
}
|