aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-08-29 01:16:21 +0200
committerPierre-Marie Pédrot2017-08-29 01:23:32 +0200
commitdb03c10aaafd3c0128a5b7504f14d4b7aaca842e (patch)
tree47ee736fc51f6e309cad5aa26158eafcf83f06e0 /tests
parentece1cc059c26351d05a0ef41131c663c37cb7761 (diff)
Implementing Ltac2 antiquotations in constr syntax.
Diffstat (limited to 'tests')
-rw-r--r--tests/quot.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/quot.v b/tests/quot.v
index c9aa1f9d14..4fa9c4fa4e 100644
--- a/tests/quot.v
+++ b/tests/quot.v
@@ -7,3 +7,10 @@ Ltac2 ref1 () := reference:(nat).
Ltac2 ref2 () := reference:(Datatypes.nat).
Fail Ltac2 ref () := reference:(i_certainly_dont_exist).
Fail Ltac2 ref () := reference:(And.Me.neither).
+
+Goal True.
+Proof.
+let x := constr:(I) in
+let y := constr:((fun z => z) $x) in
+Control.refine (fun _ => y).
+Qed.