Initial commit
Test (in pplus-core) / in-core (push) Failing after 28m44s

This commit is contained in:
alexm committed 2026-11-12 22:23:48 -05:00
commit 568474d52f
1591 files changed
+528213

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
// "An ARRAY keeps its dimensions through a loop" was assumed for every ARRAY
// the body changes, while A <- B gave A the length of B. The language now holds
// an ARRAY to its declared length: the store of another length stops the run.
// (When both lengths are plain numbers the checker refuses the store; B's
// length here is known only to the run.)
// RUN-STOPS: value@11
DECLARE A : ARRAY[3] OF INTEGER
DECLARE N : INTEGER <- 5
DECLARE B : ARRAY[N] OF INTEGER
FOR I <- 0 TO 1
A <- B
NEXT I
ASSERT LENGTH(A) == 3