From 05eff82d55c817ed30f38fa2a4e00dc87b299a21 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Wed, 2 Apr 2025 22:37:48 +0200 Subject: Codegen: Fix GEP type --- examples/18.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/18.src b/examples/18.src index 6d75e30..c050f8c 100644 --- a/examples/18.src +++ b/examples/18.src @@ -3,7 +3,7 @@ extern malloc = (i64) => *i64; extern free = (*i64) => void; let main = () => i64 { - let x = malloc(128); + let x = malloc(24); (*(x+0)) = 10; (*(x+1)) = 20; (*(x+2)) = 40; -- cgit 1.4.1