fixed a small bug in tests/alloc.sl

This commit is contained in:
IgorCielniak
2026-01-12 08:42:54 +01:00
parent 77594f45f4
commit fc67639aa5
2 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ struct: Point
word main word main
32 alloc # allocate 32 bytes (enough for a Point struct) 32 alloc # allocate 32 bytes (enough for a Point struct)
dup
dup 111 swap Point.x! dup 111 swap Point.x!
dup 222 swap Point.y! dup 222 swap Point.y!
dup Point.x@ puti cr dup Point.x@ puti cr