aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Dénès2019-04-25 10:44:56 +0200
committerPierre-Marie Pédrot2019-05-02 12:30:34 +0200
commitafb58502f900554986aeee9a749871630f117edd (patch)
treea40e9d81fac3f3a4474ce8d1f201154f6b44536f
parent321d26480444c947ffdaaf849157fd373e40c988 (diff)
Test case for #5752
-rw-r--r--test-suite/bugs/closed/bug_5752.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_5752.v b/test-suite/bugs/closed/bug_5752.v
new file mode 100644
index 0000000000..b4218d66df
--- /dev/null
+++ b/test-suite/bugs/closed/bug_5752.v
@@ -0,0 +1,8 @@
+Class C (A : Type) := c : A.
+
+Hint Mode C ! : typeclass_instances.
+
+Goal forall f : (forall A, C A -> C (list A)), True.
+intros.
+ Check c. (* Loops if modes are ignored. *)
+Abort.