aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/opened
diff options
context:
space:
mode:
authorMatthieu Sozeau2014-06-11 16:55:29 +0200
committerMatthieu Sozeau2014-06-11 16:55:29 +0200
commit99cdbc25a3a92545544a087ed55240c488b42fc9 (patch)
tree4b9f80d7ae15a421b5745dec138759a37cf68da6 /test-suite/bugs/opened
parent1c620d266885086e076011917d5b1d28af299ea1 (diff)
Fix bug #3289
Diffstat (limited to 'test-suite/bugs/opened')
-rw-r--r--test-suite/bugs/opened/3289.v21
1 files changed, 0 insertions, 21 deletions
diff --git a/test-suite/bugs/opened/3289.v b/test-suite/bugs/opened/3289.v
deleted file mode 100644
index 63453c5b81..0000000000
--- a/test-suite/bugs/opened/3289.v
+++ /dev/null
@@ -1,21 +0,0 @@
-(* File reduced by coq-bug-finder from original input, then from 1829 lines to 37 lines, then from 47 lines to 18 lines *)
-
-Class Contr_internal (A : Type) :=
- BuildContr { center : A ;
- contr : (forall y : A, True) }.
-Class Contr A := Contr_is_contr : Contr_internal A.
-Inductive Unit : Set := tt.
-Instance contr_unit : Contr Unit | 0 :=
- let x := {|
- center := tt;
- contr := fun t : Unit => I
- |} in x. (* success *)
-
-Fail Instance contr_unit' : Contr Unit | 0 :=
- {|
- center := tt;
- contr := fun t : Unit => I
- |}.
-(* Error: Mismatched contexts while declaring instance:
- Expected: (Contr_is_contr : Contr_internal _UNBOUND_REL_1)
- Found: tt (fun t : Unit => I) *)