summaryrefslogtreecommitdiff
path: root/tests/fstar/array
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/fstar/array
parenta9c256fe95523842a1ff025e73f6e9ce7c2db38a (diff)
Regenerate the array tests
Diffstat (limited to '')
-rw-r--r--tests/fstar/array/Array.Funs.fst8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/fstar/array/Array.Funs.fst b/tests/fstar/array/Array.Funs.fst
index 72163585..83256398 100644
--- a/tests/fstar/array/Array.Funs.fst
+++ b/tests/fstar/array/Array.Funs.fst
@@ -347,6 +347,14 @@ let f3_fwd : result u32 =
]) 16 18 in
sum2_fwd s s0
+(** [array::SZ] *)
+let sz_body : result usize = Return 32
+let sz_c : usize = eval_global sz_body
+
+(** [array::f5]: forward function *)
+let f5_fwd (x : array u32 32) : result u32 =
+ array_index_shared u32 32 x 0
+
(** [array::ite]: forward function *)
let ite_fwd : result unit =
let* s = array_to_slice_mut_fwd u32 2 (mk_array u32 2 [ 0; 0 ]) in