aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-04-09 18:18:46 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-04-09 18:26:00 +0200
commitf8f2c684ce97745350f8cbcb654a2ee27fb9d572 (patch)
tree7952e1a0e7faefde7cb39767033fe25acdb06db3
parenta2d3f5fc3167962f9bf549ba32f0105fff766422 (diff)
A small test of Print Ltac.
-rw-r--r--test-suite/output/ltac.out3
-rw-r--r--test-suite/output/ltac.v10
2 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/output/ltac.out b/test-suite/output/ltac.out
index d003c70df..20e274e25 100644
--- a/test-suite/output/ltac.out
+++ b/test-suite/output/ltac.out
@@ -1,2 +1,5 @@
The command has indeed failed with message:
Error: Ltac variable y depends on pattern variable name z which is not bound in current context.
+Ltac f x y z :=
+ symmetry in x, y; auto with z; auto; intros **; clearbody x; generalize
+ dependent z
diff --git a/test-suite/output/ltac.v b/test-suite/output/ltac.v
index 7e2610c7d..373b870b9 100644
--- a/test-suite/output/ltac.v
+++ b/test-suite/output/ltac.v
@@ -15,3 +15,13 @@ lazymatch goal with
| H1 : HT |- _ => idtac
end.
Abort.
+
+Ltac f x y z :=
+ symmetry in x, y;
+ auto with z;
+ auto;
+ intros;
+ clearbody x;
+ generalize dependent z.
+
+Print Ltac f.