From 6d8b31504efce96ec6d3011763ced0c631cf576a Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Tue, 1 Aug 2017 20:35:19 +0200 Subject: Don't reuse Coq AST for binding quotations. This allows antiquotations in binding lists. --- tests/example2.v | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/example2.v') 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. -- cgit v1.2.3