aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorMaxime Dénès2017-05-25 16:06:47 +0200
committerMaxime Dénès2017-05-25 16:06:47 +0200
commit4ad6dbef69f9fd4cb1b55efc252d67325068e6b1 (patch)
tree0c2c1f2310cf5751a2f97f29a0bfd5a8295d1da2 /test-suite/bugs
parent48d56f49b1db47f393ef3e0f31d1b22adf497afa (diff)
parent5c5f7c8d6a6ed8cbb99b12dde09fdbcc30ca8ab9 (diff)
Merge PR#637: Short cleaning of the interpretation path for constr_with_bindings
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/5153.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5153.v b/test-suite/bugs/closed/5153.v
new file mode 100644
index 0000000000..be6407b5fa
--- /dev/null
+++ b/test-suite/bugs/closed/5153.v
@@ -0,0 +1,8 @@
+(* An example where it does not hurt having more type-classes resolution *)
+Class some_type := { Ty : Type }.
+Instance: some_type := { Ty := nat }.
+Arguments Ty : clear implicits.
+Goal forall (H : forall t : some_type, @Ty t -> False) (H' : False -> 1 = 2), 1 = 2.
+Proof.
+intros H H'.
+specialize (H' (@H _ O)). (* was failing *)