aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorGuillaume Melquiond2017-09-14 11:18:26 +0200
committerGuillaume Melquiond2017-09-14 11:18:26 +0200
commitec4894148b06f743522081714db12bc07bd3ef46 (patch)
tree14cf8cdab954722aeabf98d6655bfa265de42e8d /test-suite
parenta86bdf0cae05e46d5f0516f29254aeb72bf08de7 (diff)
Avoid extra failure in the "constructor" tactic (bug #5666).
This changes the implementation of "constructor" from constructor 1 + ... + constructor n + fail to constructor 1 + ... + constructor n.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/5666.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5666.v b/test-suite/bugs/closed/5666.v
new file mode 100644
index 0000000000..d55a6e57b4
--- /dev/null
+++ b/test-suite/bugs/closed/5666.v
@@ -0,0 +1,4 @@
+Inductive foo := Foo : False -> foo.
+Goal foo.
+try (constructor ; fail 0).
+Fail try (constructor ; fail 1).