diff options
| author | Hugo Herbelin | 2018-09-19 22:47:36 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2018-09-27 13:28:36 +0200 |
| commit | 82a3fb5d5c0d0c5660effec59f3800ee5e8a125d (patch) | |
| tree | daf3db3f650308c37d65b285788e4e034f1d04ad /test-suite | |
| parent | 0e225553a2ee1c39e0f070edb6528d109dd878ac (diff) | |
Fixing #4859 (anomaly with Scheme called on inductive type with indices).
We raise a normal error instead of an anomaly.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/4859.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4859.v b/test-suite/bugs/closed/4859.v new file mode 100644 index 0000000000..7be0bedcfc --- /dev/null +++ b/test-suite/bugs/closed/4859.v @@ -0,0 +1,7 @@ +(* Not supported but check at least that it does not raise an anomaly *) + +Inductive Fin{n : nat} : Set := +| F1{i : nat}{e : n = S i} +| FS{i : nat}(f : @ Fin i){e : n = S i}. + +Fail Scheme Equality for Fin. |
