aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/5093.v
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-09-26 00:06:16 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-09-26 00:11:01 +0200
commitc8ca50f0cf961c9e31489f095463a99fc005c5de (patch)
tree4e5ab6c0aac4bf5c8db5604089297a74d34df3c1 /test-suite/bugs/closed/5093.v
parent2fa1dc39371b8f770ce662d56d85bf6f20413aac (diff)
Fix bug #5093: typeclasses eauto depth arg does not accept a var.
Diffstat (limited to 'test-suite/bugs/closed/5093.v')
-rw-r--r--test-suite/bugs/closed/5093.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5093.v b/test-suite/bugs/closed/5093.v
new file mode 100644
index 000000000..3ded4dd30
--- /dev/null
+++ b/test-suite/bugs/closed/5093.v
@@ -0,0 +1,11 @@
+Axiom P : nat -> Prop.
+Axiom PS : forall n, P n -> P (S n).
+Axiom P0 : P 0.
+
+Hint Resolve PS : foobar.
+Hint Resolve P0 : foobar.
+
+Goal P 100.
+Proof.
+Fail typeclasses eauto 100 with foobar.
+typeclasses eauto 101 with foobar.