From fe0e62bebcd71aca8b56cc615d81667a31e43388 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Sat, 20 Jan 2018 23:25:55 +0100 Subject: Adding a test for coqchk bug #6619. --- test-suite/coqchk/primproj2.v | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test-suite/coqchk/primproj2.v (limited to 'test-suite/coqchk/primproj2.v') diff --git a/test-suite/coqchk/primproj2.v b/test-suite/coqchk/primproj2.v new file mode 100644 index 000000000..f73c627ee --- /dev/null +++ b/test-suite/coqchk/primproj2.v @@ -0,0 +1,10 @@ +Set Primitive Projections. + +Record Pack (A : Type) := pack { unpack : A }. + +Definition p : Pack bool. +Proof. +refine (pack _ true). +Qed. + +Definition boom : unpack bool p = let u := unpack _ in u p := eq_refl. -- cgit v1.2.3