summaryrefslogtreecommitdiff
path: root/tests/coq
diff options
context:
space:
mode:
authorSon Ho2023-08-18 12:23:03 +0200
committerSon Ho2023-08-18 12:23:03 +0200
commit8543092569616ef6a75949a72532f7b73dc696f2 (patch)
treea19129e9e291e51018f44cde6bd6471b2f35cd37 /tests/coq
parenta9c256fe95523842a1ff025e73f6e9ce7c2db38a (diff)
Regenerate the array tests
Diffstat (limited to 'tests/coq')
-rw-r--r--tests/coq/array/Array_Funs.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/coq/array/Array_Funs.v b/tests/coq/array/Array_Funs.v
index d47e4633..6ff3066a 100644
--- a/tests/coq/array/Array_Funs.v
+++ b/tests/coq/array/Array_Funs.v
@@ -451,6 +451,15 @@ Definition f3_fwd (n : nat) : result u32 :=
sum2_fwd n s s0
.
+(** [array::SZ] *)
+Definition sz_body : result usize := Return 32%usize.
+Definition sz_c : usize := sz_body%global.
+
+(** [array::f5]: forward function *)
+Definition f5_fwd (x : array u32 32%usize) : result u32 :=
+ array_index_shared u32 32%usize x 0%usize
+.
+
(** [array::ite]: forward function *)
Definition ite_fwd : result unit :=
s <-