summaryrefslogtreecommitdiff
path: root/tests/coq/array
diff options
context:
space:
mode:
authorSon Ho2023-08-18 10:44:01 +0200
committerSon Ho2023-08-18 10:44:01 +0200
commita9c256fe95523842a1ff025e73f6e9ce7c2db38a (patch)
tree719ddcd09d212c4c69c6d406ee6e024c0ef277ef /tests/coq/array
parent26c25bf375742cf4d5a0ab160b9646e90c067f18 (diff)
Add tests which use const generics as values
Diffstat (limited to 'tests/coq/array')
-rw-r--r--tests/coq/array/Array_Funs.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/coq/array/Array_Funs.v b/tests/coq/array/Array_Funs.v
index 6d791873..d47e4633 100644
--- a/tests/coq/array/Array_Funs.v
+++ b/tests/coq/array/Array_Funs.v
@@ -183,6 +183,10 @@ Definition index_index_array_fwd
array_index_shared u32 32%usize a j
.
+(** [array::const_gen_ret]: forward function *)
+Definition const_gen_ret_fwd (N : usize) : result usize :=
+ Return N.
+
(** [array::update_update_array]: forward function *)
Definition update_update_array_fwd
(s : array (array u32 32%usize) 32%usize) (i : usize) (j : usize) :