aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-08-01 20:35:19 +0200
committerPierre-Marie Pédrot2017-08-01 20:49:31 +0200
commit6d8b31504efce96ec6d3011763ced0c631cf576a (patch)
tree6f183951ce909c7b75f58fcaedcb9ccdba152d3a /tests
parent73ecd7e2f0136234f73f405a569858f2b0ecee9b (diff)
Don't reuse Coq AST for binding quotations.
This allows antiquotations in binding lists.
Diffstat (limited to 'tests')
-rw-r--r--tests/example2.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/example2.v b/tests/example2.v
index 5efbf90b34..ffdb723ffb 100644
--- a/tests/example2.v
+++ b/tests/example2.v
@@ -13,3 +13,9 @@ Proof.
split with 0.
split.
Qed.
+
+Goal exists n, n = 0.
+Proof.
+let myvar := Std.NamedHyp @x in split with (?myvar := 0).
+split.
+Qed.