aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_12651.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_12651.v b/test-suite/bugs/closed/bug_12651.v
new file mode 100644
index 0000000000..cdeeb84912
--- /dev/null
+++ b/test-suite/bugs/closed/bug_12651.v
@@ -0,0 +1,6 @@
+
+Set Warnings "+implicits-in-term".
+Definition thing1 : forall {A}, A -> A := fun A a => a.
+Check thing1 : _ -> _.
+Fail Definition thing2 : forall {A}, A -> A := fun [A] a => a.
+Fail Definition thing2 : forall A, A -> A := fun {A} a => a.