From 1894f56849f01dbaf7c1fafed5c9b4f26ff6d2e5 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Tue, 17 Jun 2014 13:16:42 +0200 Subject: Fixing #3282 (two bugs in the presence of let-in's in "fix"). --- test-suite/bugs/closed/3282.v | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test-suite/bugs/closed/3282.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/3282.v b/test-suite/bugs/closed/3282.v new file mode 100644 index 0000000000..ce7cab1cba --- /dev/null +++ b/test-suite/bugs/closed/3282.v @@ -0,0 +1,7 @@ +(* Check let-ins in fix and Fixpoint *) + +Definition foo := fix f (m : nat) (o := true) (n : nat) {struct n} := + match n with 0 => 0 | S n' => f 0 n' end. + +Fixpoint f (m : nat) (o := true) (n : nat) {struct n} := + match n with 0 => 0 | S n' => f 0 n' end. -- cgit v1.2.3