Files
swift-mirror/validation-test/Evolution/Inputs/backward_deploy_top_level.swift
2018-12-03 20:36:03 -05:00

21 lines
285 B
Swift

public func getVersion() -> Int {
#if BEFORE
return 0
#else
return 1
#endif
}
#if AFTER
@_weakLinked public func topLevelFunction(_ x: Int) {}
@_weakLinked public var storedGlobal: Int = 0
@_weakLinked public var computedGlobal: Int {
get {
return 0
}
set {}
}
#endif