mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-19 06:40:20 +03:00
set the refcount of the input
This commit is contained in:
parent
4d2c807570
commit
a392ef2419
@ -22,6 +22,10 @@ pub export fn main() i32 {
|
||||
const stderr = std.io.getStdErr().writer();
|
||||
|
||||
var raw_numbers: [NUM_NUMS + 1]i64 = undefined;
|
||||
|
||||
// set refcount to one
|
||||
raw_numbers[0] = -9223372036854775808;
|
||||
|
||||
var numbers = raw_numbers[1..];
|
||||
|
||||
for (numbers) |x, i| {
|
||||
|
Loading…
Reference in New Issue
Block a user