aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorMaxime Dénès2018-12-21 19:49:17 +0100
committerMaxime Dénès2019-01-22 11:17:55 +0100
commite195c1dd97116961e34f3fad41a697a01d505ebf (patch)
tree5f185774341540578dddb1ad3b83f62da3f2740f /test-suite
parent3600f2cd55716550c4d9f78f05d43b6f33fd402e (diff)
Distinguish ASTs for Instance and Declare Instance
This makes code paths clearer (we still factorize a lot of the treatment), and we seize the opportunity to forbid anonymous `Declare Instance` which is not a documented construction, and seems to make little sense in practice.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_3495.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-suite/bugs/closed/bug_3495.v b/test-suite/bugs/closed/bug_3495.v
index 7b0883f910..47db64a096 100644
--- a/test-suite/bugs/closed/bug_3495.v
+++ b/test-suite/bugs/closed/bug_3495.v
@@ -1,7 +1,7 @@
Require Import RelationClasses.
Axiom R : Prop -> Prop -> Prop.
-Declare Instance : Reflexive R.
+Declare Instance R_refl : Reflexive R.
Class bar := { x : False }.
Record foo := { a : Prop ; b : bar }.