diff options
| author | Maxime Dénès | 2017-08-01 13:01:12 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-08-01 13:01:12 +0200 |
| commit | 662d6581c852496d5bb62e27893810e2514cdfbb (patch) | |
| tree | 46a22e172eb438d2de0106c846f66aa08f441bb9 /test-suite | |
| parent | 82df5a27656753f50b5f5ff7d1faa37b2ddefc49 (diff) | |
| parent | 3810a76a85a83242a739bacdfd2c8485a8e4c9da (diff) | |
Merge PR #806: closing bug 5315
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/5315.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5315.v b/test-suite/bugs/closed/5315.v new file mode 100644 index 0000000000..f1f1b8c051 --- /dev/null +++ b/test-suite/bugs/closed/5315.v @@ -0,0 +1,10 @@ +Require Import Recdef. + +Function dumb_works (a:nat) {struct a} := + match (fun x => x) a with O => O | S n' => dumb_works n' end. + +Function dumb_nope (a:nat) {struct a} := + match (id (fun x => x)) a with O => O | S n' => dumb_nope n' end. + +(* This check is just present to ensure Function worked well *) +Check R_dumb_nope_complete.
\ No newline at end of file |
