aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-07-08 12:30:59 +0200
committerEmilio Jesus Gallego Arias2020-07-08 12:30:59 +0200
commit5331a010acbb71131bc5dc1c62cc08d9814de21b (patch)
treeff931b30af7108ff4b8763d0eabf804418e7ad2a /test-suite
parent827425e57f9ecb9bbff3132bdaa504e710c8cf2b (diff)
parent1bc0b150857faad474b691b1cfb24e9a99f21395 (diff)
Merge PR #12652: Fix erroneous implicits-in-term warning
Reviewed-by: ejgallego Reviewed-by: herbelin
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.