diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2017-04-27 17:33:51 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2017-04-27 17:35:08 +0200 |
commit | 746066172b8ed508886feb20cee239920ca7a4c7 (patch) | |
tree | 7e140fd900081fa8bdd6cbad8032a85bd5b67b5d /test-suite | |
parent | cb635eab423cde23757725593ffdfb98f4016881 (diff) |
Test for bug #5193: Uncaught exception Class_tactics.Search.ReachedLimitEx.
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/bugs/closed/5193.v | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5193.v b/test-suite/bugs/closed/5193.v new file mode 100644 index 000000000..cc8739afe --- /dev/null +++ b/test-suite/bugs/closed/5193.v @@ -0,0 +1,14 @@ +Class Eqdec A := eqdec : forall a b : A, {a=b}+{a<>b}. + +Typeclasses eauto := debug. +Set Typeclasses Debug Verbosity 2. + +Inductive Finx(n : nat) : Set := +| Fx1(i : nat)(e : n = S i) +| FxS(i : nat)(f : Finx i)(e : n = S i). + +Context `{Finx_eqdec : forall n, Eqdec (Finx n)}. + +Goal {x : Type & Eqdec x}. + eexists. + try typeclasses eauto 1 with typeclass_instances. |