summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/7854.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/7854.v')
-rw-r--r--test-suite/bugs/closed/7854.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/7854.v b/test-suite/bugs/closed/7854.v
new file mode 100644
index 00000000..ab1a29b6
--- /dev/null
+++ b/test-suite/bugs/closed/7854.v
@@ -0,0 +1,10 @@
+Set Primitive Projections.
+
+CoInductive stream (A : Type) := cons {
+ hd : A;
+ tl : stream A;
+}.
+
+CoFixpoint const {A} (x : A) := cons A x (const x).
+
+Check (@eq_refl _ (const tt) <<: tl unit (const tt) = const tt).