aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-02-17 18:11:02 +0100
committerPierre-Marie Pédrot2016-02-17 18:35:27 +0100
commit65b901534649c5f29e245a4960fa66f6e9d9c257 (patch)
tree0acde205596fad22223998e90e6beccf433c0263 /test-suite
parentf46a5686853353f8de733ae7fbd21a3a61977bc7 (diff)
Fix bug #4574: Anomaly: Uncaught exception Invalid_argument("splay_arity").
The setoid_rewrite tactic was not checking that the relation it was looking for was indeed a relation, i.e. that its type was an arity.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/4574.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4574.v b/test-suite/bugs/closed/4574.v
new file mode 100644
index 0000000000..39ba190369
--- /dev/null
+++ b/test-suite/bugs/closed/4574.v
@@ -0,0 +1,8 @@
+Require Import Setoid.
+
+Definition block A (a : A) := a.
+
+Goal forall A (a : A), block Type nat.
+Proof.
+Fail reflexivity.
+