diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-06-24 13:37:51 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-06-24 13:37:51 +0200 |
commit | f7f5b7dcc641e233a1b18dab7228d1d8c55596b3 (patch) | |
tree | b0bf4f02f30ccb2845b114202ec8691c1bc89ea6 /test-suite | |
parent | bb8dd8212efb839746e050062b108b33632ba224 (diff) | |
parent | 1343b69221ce3eeb3154732e73bbdc0044b224a8 (diff) |
Merge branch 'v8.5'
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/success/simpl.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/success/simpl.v b/test-suite/success/simpl.v index e540ae5f3..5b87e877b 100644 --- a/test-suite/success/simpl.v +++ b/test-suite/success/simpl.v @@ -98,3 +98,10 @@ Fail simpl (unbox _ (unbox _ _)) at 3 4. (* Nested and even overlapping *) simpl (unbox _ (unbox _ _)) at 2 4. match goal with |- unbox _ (Box _ True) = unbox _ (Box _ True) => idtac end. Abort. + +(* Check interpretation of ltac variables (was broken in 8.5 beta 1 and 2 *) + +Goal 2=1+1. +match goal with |- (_ = ?c) => simpl c end. +match goal with |- 2 = 2 => idtac end. (* Check that it reduced *) +Abort. |