aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorMatthieu Sozeau2016-01-07 17:20:51 +0100
committerMatthieu Sozeau2016-01-07 17:23:07 +0100
commite309d8119cd82bdf1216751fb076d438782fb60f (patch)
tree6758e811c1520ce40b9f9ddf11574ca0c72805d6 /test-suite
parent905e3dd364e8be20771c39393e7e114f2e4b8cd8 (diff)
Fix bug #4480: progress was not checked for setoid_rewrite.
Also ensure we stay compatible with 8.4: progress could now be made simply because of beta redexes in the goal.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/4480.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4480.v b/test-suite/bugs/closed/4480.v
new file mode 100644
index 0000000000..08a86330f2
--- /dev/null
+++ b/test-suite/bugs/closed/4480.v
@@ -0,0 +1,12 @@
+Require Import Setoid.
+
+Definition proj (P Q : Prop) := P.
+
+Lemma foo (P : Prop) : proj P P = P.
+Admitted.
+Lemma trueI : True <-> True.
+Admitted.
+Goal True.
+ Fail setoid_rewrite foo.
+ Fail setoid_rewrite trueI.
+ \ No newline at end of file