From f92b5e4a91e8edb7ccac2ebe64d68c8d89e2e0db Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Tue, 24 Sep 2019 10:23:06 +0200 Subject: Fix #10783: use binder_annot in Ltac2.Constr.Unsafe.kind --- test-suite/ltac2/constr.v | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test-suite/ltac2/constr.v (limited to 'test-suite/ltac2') 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. -- cgit v1.2.3