mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Like everything else, there are several caveats: no generic params, no attributes, and (for now) no arguments. Pattern support is coming next. Swift SVN r5701
8 lines
159 B
Swift
8 lines
159 B
Swift
import Builtin
|
|
|
|
func getZero() -> Builtin.Int64 {
|
|
// Can't just return 0 because of <rdar://problem/14209859>
|
|
var result : Builtin.Int64
|
|
return result
|
|
}
|