aboutsummaryrefslogtreecommitdiff
path: root/test-suite/success
diff options
context:
space:
mode:
authorHugo Herbelin2015-11-10 14:50:13 +0100
committerHugo Herbelin2015-11-10 16:38:17 +0100
commit2bad1e8d896b40495bc8579e407f142f7f3fb7d9 (patch)
tree0fee1c7082449ec26a98e0b2b0a7b699453273ca /test-suite/success
parentb382bb1b42319d7be422f92fd196df8bfbe21a83 (diff)
parentab1d8792143a05370a1efe3d19469c25b82d7097 (diff)
Merge origin/v8.5 into trunk
Did some manual merge in tactics/tactics.ml.
Diffstat (limited to 'test-suite/success')
-rw-r--r--test-suite/success/destruct.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-suite/success/destruct.v b/test-suite/success/destruct.v
index 83a33f75dc..59cd25cd76 100644
--- a/test-suite/success/destruct.v
+++ b/test-suite/success/destruct.v
@@ -97,6 +97,7 @@ Abort.
Goal exists x, S x = S 0.
eexists.
+Show x. (* Incidentally test Show on a named goal *)
destruct (S _). (* Incompatible occurrences but takes the first one since Oct 2014 *)
change (0 = S 0).
Abort.
@@ -105,6 +106,7 @@ Goal exists x, S 0 = S x.
eexists.
destruct (S _). (* Incompatible occurrences but takes the first one since Oct 2014 *)
change (0 = S ?x).
+[x]: exact 0. (* Incidentally test applying a tactic to a goal on the shelve *)
Abort.
Goal exists n p:nat, (S n,S n) = (S p,S p) /\ p = n.