aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-09-25 14:32:39 +0200
committerPierre-Marie Pédrot2019-09-25 14:32:39 +0200
commit227fcc4dff6fbb68ad6b91387b2f36705329a57e (patch)
tree054ab24af9d4649103763355745ff60c6204fe14 /test-suite
parent4e022849b7119e3a51b46fa73132b3e3cc7927ab (diff)
parentf92b5e4a91e8edb7ccac2ebe64d68c8d89e2e0db (diff)
Merge PR #10784: Fix #10783: use binder_annot in Ltac2.Constr.Unsafe.kind
Reviewed-by: ppedrot
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/ltac2/constr.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/ltac2/constr.v b/test-suite/ltac2/constr.v
new file mode 100644
index 0000000000..39601d99a8
--- /dev/null
+++ b/test-suite/ltac2/constr.v
@@ -0,0 +1,12 @@
+Require Import Ltac2.Constr Ltac2.Init Ltac2.Control.
+Import Unsafe.
+
+Ltac2 Eval match (kind '(nat -> bool)) with
+ | Prod a b c => a
+ | _ => throw Match_failure end.
+
+Set Allow StrictProp.
+Axiom something : SProp.
+Ltac2 Eval match (kind '(forall x : something, bool)) with
+ | Prod a b c => a
+ | _ => throw Match_failure end.