This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,10 @@
|
||||
// SORTED of a two-dimensional ARRAY gives every value (6 here); the checker
|
||||
// gives SORTED(A) the first length of A.
|
||||
// MUST-NOT-PROVE: assert@10
|
||||
DECLARE A : ARRAY[2, 3] OF INTEGER
|
||||
FOR R <- 0 TO 2
|
||||
FOR C <- 0 TO 3
|
||||
A[R, C] <- R + C
|
||||
NEXT C
|
||||
NEXT R
|
||||
ASSERT LENGTH(SORTED(A)) == 2
|
||||
Reference in new issue
Block a user