From 4be607ec6c0b89e85566b4a6952bdf41e40fae7b Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Mon, 29 Jan 2018 16:04:54 +0100 Subject: Add test case for #5286. --- test-suite/bugs/closed/5286.v | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test-suite/bugs/closed/5286.v 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). -- cgit v1.2.3