diff options
| author | Guillaume Melquiond | 2017-09-14 11:18:26 +0200 |
|---|---|---|
| committer | Guillaume Melquiond | 2017-09-14 11:18:26 +0200 |
| commit | ec4894148b06f743522081714db12bc07bd3ef46 (patch) | |
| tree | 14cf8cdab954722aeabf98d6655bfa265de42e8d /test-suite | |
| parent | a86bdf0cae05e46d5f0516f29254aeb72bf08de7 (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.v | 4 |
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). |
