aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorMaxime Dénès2016-09-28 15:28:51 +0200
committerMaxime Dénès2016-09-28 15:28:51 +0200
commit2c4f3c2bcf93d023b53a9f2ec6b151d4df696c84 (patch)
tree2a8f3c92e40efe0eb5651c01bd3bf613bd68cf2c /test-suite/bugs
parent72c1fefcfb3f0dff02005034685f6b58ff84b3cc (diff)
parent4b61c0693d453dd0026792185354d68ba1db9022 (diff)
Merge remote-tracking branch 'github/pr/232' into v8.6
Was PR#232: Fix the parsing of goal selectors.
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/4877.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4877.v b/test-suite/bugs/closed/4877.v
new file mode 100644
index 0000000000..7e3c78dc2e
--- /dev/null
+++ b/test-suite/bugs/closed/4877.v
@@ -0,0 +1,12 @@
+Ltac induction_last :=
+ let v := match goal with
+ | |- forall x y, _ = _ -> _ => 1
+ | |- forall x y, _ -> _ = _ -> _ => 2
+ | |- forall x y, _ -> _ -> _ = _ -> _ => 3
+ end in
+ induction v.
+
+Goal forall n m : nat, True -> n = m -> m = n.
+ induction_last.
+ reflexivity.
+Qed. \ No newline at end of file