diff options
| author | Hugo Herbelin | 2018-11-01 23:28:03 +0100 |
|---|---|---|
| committer | Hugo Herbelin | 2018-11-02 00:58:56 +0100 |
| commit | cd2f7b4e19d4f231170a73f87800144963f8f1ad (patch) | |
| tree | 9fc7382ecc93191d2578065e9a14900344bfa299 /test-suite | |
| parent | 9b0a4b002e324d523b01e17fba7ba631a651f6b0 (diff) | |
Fixing one instance of bug #8224 (grounding term w/o knowing if it has evars).
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_8224.v | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_8224.v b/test-suite/bugs/closed/bug_8224.v new file mode 100644 index 0000000000..42dd47d48c --- /dev/null +++ b/test-suite/bugs/closed/bug_8224.v @@ -0,0 +1,9 @@ +(* Checking that terms are evar-free before being grounded *) + +(* This used to raise an anomaly in 8.9 beta *) + +Fail Fixpoint restrict f n := + match n with + | O => nil + | S n => cons (f n) (restrict f n) + end. |
