diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-04-09 18:18:46 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-04-09 18:26:00 +0200 |
commit | f8f2c684ce97745350f8cbcb654a2ee27fb9d572 (patch) | |
tree | 7952e1a0e7faefde7cb39767033fe25acdb06db3 | |
parent | a2d3f5fc3167962f9bf549ba32f0105fff766422 (diff) |
A small test of Print Ltac.
-rw-r--r-- | test-suite/output/ltac.out | 3 | ||||
-rw-r--r-- | test-suite/output/ltac.v | 10 |
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. |