summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4718.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4718.v')
-rw-r--r--test-suite/bugs/closed/4718.v15
1 files changed, 15 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4718.v b/test-suite/bugs/closed/4718.v
new file mode 100644
index 00000000..12a4e8fc
--- /dev/null
+++ b/test-suite/bugs/closed/4718.v
@@ -0,0 +1,15 @@
+(*Congruence is weaker than reflexivity when it comes to higher level than necessary equalities:*)
+
+Goal @eq Set nat nat.
+congruence.
+Qed.
+
+Goal @eq Type nat nat.
+congruence. (*bug*)
+Qed.
+
+Variable T : Type.
+
+Goal @eq Type T T.
+congruence.
+Qed.