diff options
| author | Pierre-Marie Pédrot | 2014-11-21 16:51:27 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2014-11-21 16:51:27 +0100 |
| commit | 228a39aab291af446b9419673c05d224dfbd8a72 (patch) | |
| tree | ada7e93672d9a51e07130489dbc5dffc4c465377 | |
| parent | 9f9ad7a56d719cec729038156c01c11595eb951a (diff) | |
Adding test for bug #3326.
| -rw-r--r-- | test-suite/bugs/closed/3326.v | 19 |
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. |
