diff options
author | 2014-06-17 13:16:42 +0200 | |
---|---|---|
committer | 2014-06-17 16:06:41 +0200 | |
commit | 1894f56849f01dbaf7c1fafed5c9b4f26ff6d2e5 (patch) | |
tree | a6ae8bccb04d556ec8682aa7d7d70c38a6c80c3e /test-suite/bugs/closed/3282.v | |
parent | d4a0f7af3b55792c548fae6e47eeef0925ee6e23 (diff) |
Fixing #3282 (two bugs in the presence of let-in's in "fix").
Diffstat (limited to 'test-suite/bugs/closed/3282.v')
-rw-r--r-- | test-suite/bugs/closed/3282.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3282.v b/test-suite/bugs/closed/3282.v new file mode 100644 index 000000000..ce7cab1cb --- /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. |