aboutsummaryrefslogtreecommitdiff
path: root/tests/parity.known
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 16:24:55 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 16:24:55 +0330
commit886fa9c0b7ad3c0316e85de1b2c87c54a3681b12 (patch)
treec586a0d5428cbdb019b80f5a92a8ffd80c0d962d /tests/parity.known
parentrt.zdiv: INT_MIN / -1 is INT_MIN and % is 0 in software division too, so zc0 ... (diff)
parentmerge bounds checking (diff)
Merge branch 'main' into work/spec
Diffstat (limited to 'tests/parity.known')
-rw-r--r--tests/parity.known3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/parity.known b/tests/parity.known
index 0a73eb3..6892499 100644
--- a/tests/parity.known
+++ b/tests/parity.known
@@ -13,3 +13,6 @@ tests/programs/uaf_in.zc # memdebug on: only the self-hosted compiler emits the
examples/lists.zc # ownership: the block's owner frees at its end, zc0 never frees
# the next program reads a local it never sets when stdin is empty, so it prints stack garbage
tests/programs/bench_strings.zc # reads the repeat count from stdin; with none, acc is uninitialized
+# zc0 reads unbounded and ignores it, and emits no index checks at all
+tests/programs/bounds_fixed.zc # bounds checks: only the self-hosted compiler checks a fixed array index
+tests/programs/bounds_heap.zc # bounds checks: only the self-hosted compiler checks a pointer into a heap block