diff options
| author | Matthieu Sozeau | 2018-11-27 18:09:21 +0100 |
|---|---|---|
| committer | Matthieu Sozeau | 2018-11-27 18:09:21 +0100 |
| commit | ec7aec452da1ad0bf53145a314df7c00194218a6 (patch) | |
| tree | f2a65ec228e26db21e98e939899285b221d696cd /test-suite | |
| parent | 361df9ec529c1074711e267706429de6de586124 (diff) | |
| parent | fb4978ce2cf0a2d4fc871d5d739eda8618a5184b (diff) | |
Merge PR #8854: Fix #8364: making univ algebraic when already equal to another.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_8364.v | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_8364.v b/test-suite/bugs/closed/bug_8364.v new file mode 100644 index 0000000000..10f955b41f --- /dev/null +++ b/test-suite/bugs/closed/bug_8364.v @@ -0,0 +1,17 @@ +Unset Primitive Projections. + +Record Box (A:Type) := box { unbox : A }. +Arguments box {_} _. Arguments unbox {_} _. + +Definition map {A B} (f:A -> B) x := + match x with box x => box (f x) end. + +Definition tuple (l : Box Type) : Type := + match l with + | box x => x + end. + +Fail Inductive stack : Type -> Type := +| Stack T foos : + tuple (map stack foos) -> + stack T. |
