mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
13 lines
339 B
Swift
13 lines
339 B
Swift
@_exported import LowLevel
|
|
|
|
public func printMessage() {
|
|
printMessageMoved()
|
|
}
|
|
public class CandyBox: Box {
|
|
public typealias Item = Candy
|
|
public var ItemKind: String { return getItem().kind }
|
|
let itemInBox: Item
|
|
public init(_ itemInBox: Item) { self.itemInBox = itemInBox }
|
|
public func getItem() -> Item { return itemInBox }
|
|
}
|