diff options
| author | Maxime Dénès | 2017-11-21 09:19:24 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2017-11-21 09:19:24 +0100 |
| commit | d0c42fea9edfef645a822e9f12d475c205f93932 (patch) | |
| tree | 566d6a23269c7c1526aca23d9d99f1007dd2714c /test-suite | |
| parent | 2a857da2a88855a6c9f0fa7e48a8700c1613e0c7 (diff) | |
| parent | a83c37de529f12348cd9e3a66a38c58b72777478 (diff) | |
Merge PR #6113: Extra work on ltac printing: fixing #5787, some parentheses
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/output/ltac.out | 7 | ||||
| -rw-r--r-- | test-suite/output/ltac.v | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test-suite/output/ltac.out b/test-suite/output/ltac.out index 35c3057d84..c5d58ec1ec 100644 --- a/test-suite/output/ltac.out +++ b/test-suite/output/ltac.out @@ -31,3 +31,10 @@ nat nat 0 0 +Ltac foo := + let x := intros ** in + let y := intros -> in + let v := constr:(nil) in + let w := () in + let z := 1 in + pose v diff --git a/test-suite/output/ltac.v b/test-suite/output/ltac.v index 76c37625aa..6adbe95dd5 100644 --- a/test-suite/output/ltac.v +++ b/test-suite/output/ltac.v @@ -57,3 +57,14 @@ match goal with |- ?x*?y => idtac x end. match goal with H: context [?x*?y] |- _ => idtac x end. match goal with |- context [?x*?y] => idtac x end. Abort. + +(* Check printing of let in Ltac and Tactic Notation *) + +Ltac foo := + let x := intros in + let y := intros -> in + let v := constr:(@ nil True) in + let w := () in + let z := 1 in + pose v. +Print Ltac foo. |
