aboutsummaryrefslogtreecommitdiff
path: root/test-suite/output
diff options
context:
space:
mode:
authorcoqbot-app[bot]2020-11-03 21:12:10 +0000
committerGitHub2020-11-03 21:12:10 +0000
commit008f6ebd3d681eb058646b375c07ce598e7a3149 (patch)
tree91ea319f6e4ce449b66ca0ed054b35a8b0e56544 /test-suite/output
parentc8a00cc28121836b073037007425d106de79d5e6 (diff)
parent225a4ee2871b58661f9689255237a1e189ee6a4c (diff)
Merge PR #13179: Fix printing for empty primitive arrays
Reviewed-by: herbelin
Diffstat (limited to 'test-suite/output')
-rw-r--r--test-suite/output/prim_array.out9
-rw-r--r--test-suite/output/prim_array.v10
2 files changed, 19 insertions, 0 deletions
diff --git a/test-suite/output/prim_array.out b/test-suite/output/prim_array.out
new file mode 100644
index 0000000000..6c12153ab9
--- /dev/null
+++ b/test-suite/output/prim_array.out
@@ -0,0 +1,9 @@
+[| | 0 : nat |]
+ : array nat
+[| 1; 2; 3 | 0 : nat |]
+ : array nat
+[| | 0 : nat |]@{Set}
+ : array@{Set} nat
+[| bool; list nat | nat : Set |]@{prim_array.4}
+ : array@{prim_array.4} Set
+(* {prim_array.4} |= Set < prim_array.4 *)
diff --git a/test-suite/output/prim_array.v b/test-suite/output/prim_array.v
new file mode 100644
index 0000000000..a82f6a16f1
--- /dev/null
+++ b/test-suite/output/prim_array.v
@@ -0,0 +1,10 @@
+Primitive array := #array_type.
+
+Check [| | 0 |].
+
+Check [| 1; 2; 3 | 0 |].
+
+Set Printing Universes.
+Check [| | 0 |].
+
+Check [| bool; list nat | nat |].