From e368bcd7e16fda4d011ad2c960c647c7da72bcb6 Mon Sep 17 00:00:00 2001 From: Matthieu Sozeau Date: Fri, 29 Aug 2014 00:50:08 +0200 Subject: Add test-suite file. Compute the name for the record binder in the eta-expanded version of a projection as before. --- test-suite/bugs/closed/3402.v | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test-suite/bugs/closed/3402.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/3402.v b/test-suite/bugs/closed/3402.v new file mode 100644 index 000000000..ed47ec825 --- /dev/null +++ b/test-suite/bugs/closed/3402.v @@ -0,0 +1,7 @@ +Set Primitive Projections. +Record prod A B := pair { fst : A ; snd : B }. +Goal forall A B (p : prod A B), p = let (x, y) := p in pair A B x y. +Proof. + intros A B p. + exact eq_refl. +Qed. \ No newline at end of file -- cgit v1.2.3