This commit is contained in:
flameyosflow 2025-12-20 11:02:42 +02:00
commit 1006b231f0
9 changed files with 85 additions and 21 deletions

View file

@ -51,7 +51,7 @@ int suic_main(void);
int suic_main(void) {
int* arr = suic_alloc_array(NULL, sizeof(int), 4, (int[]){1, 2, 3, 4});
int x = arr[0];
int x = arr[2];
return x;
}

Binary file not shown.

View file

@ -2,6 +2,6 @@
fn main() -> int do
let arr = [1, 2, 3, 4];
# let empty = [];
let x = arr[0];
let x = arr[1];
x
end