// `#framework "Name"` top-level directive registers an Apple framework for // linking; `#foreign` declarations can omit the library identifier (frameworks // resolve symbols by global namespace at link time). #framework "CoreFoundation"; CFAbsoluteTimeGetCurrent :: () -> f64 #foreign; main :: () -> s32 { t := CFAbsoluteTimeGetCurrent(); return if t > 0.0 then 0 else 1; }