aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2014-11-21 16:51:27 +0100
committerPierre-Marie Pédrot2014-11-21 16:51:27 +0100
commit228a39aab291af446b9419673c05d224dfbd8a72 (patch)
treeada7e93672d9a51e07130489dbc5dffc4c465377
parent9f9ad7a56d719cec729038156c01c11595eb951a (diff)
Adding test for bug #3326.
-rw-r--r--test-suite/bugs/closed/3326.v19
1 files changed, 19 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3326.v b/test-suite/bugs/closed/3326.v
new file mode 100644
index 0000000000..4d7e9f77cb
--- /dev/null
+++ b/test-suite/bugs/closed/3326.v
@@ -0,0 +1,19 @@
+Class ORDER A := Order {
+ LEQ : A -> A -> bool;
+ leqRefl: forall x, true = LEQ x x
+}.
+
+Section XXX.
+
+Variable A:Type.
+Variable (O:ORDER A).
+Definition aLeqRefl := @leqRefl _ O.
+
+Lemma OK : forall x, true = LEQ x x.
+Proof.
+ intros.
+ unfold LEQ.
+ destruct O.
+ clear.
+ Fail apply aLeqRefl.
+Abort.