summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5286.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/5286.v')
-rw-r--r--test-suite/bugs/closed/5286.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5286.v b/test-suite/bugs/closed/5286.v
new file mode 100644
index 00000000..98d4e5c9
--- /dev/null
+++ b/test-suite/bugs/closed/5286.v
@@ -0,0 +1,9 @@
+Set Primitive Projections.
+
+CoInductive R := mkR { p : unit }.
+
+CoFixpoint foo := mkR tt.
+
+Check (eq_refl tt : p foo = tt).
+Check (eq_refl tt <: p foo = tt).
+Check (eq_refl tt <<: p foo = tt).