aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorMaxime Dénès2018-01-30 10:01:50 +0100
committerMaxime Dénès2018-01-30 10:01:50 +0100
commit879ebad4d0b39fda275a72ba44c1f4dfbb9282e5 (patch)
treeb2775e675b9b82acd5fd8a34b99b7b33af782d91 /test-suite
parentae2429e6cf0e4faa0e57bd3b1393efc3b532920a (diff)
parent4be607ec6c0b89e85566b4a6952bdf41e40fae7b (diff)
Merge PR #6666: Fix reduction of primitive projections on coinductive records for cbv and native_compute
Diffstat (limited to 'test-suite')
-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 0000000000..98d4e5c968
--- /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).