test-suite/bugs/bug_10504.v
raw| 1 | Inductive any_list {A} := |
| 2 | | nil : @any_list A |
| 3 | | cons : forall X, A -> @any_list X -> @any_list A. |
| 4 | |
| 5 | Arguments nil {A}. |
| 6 | Arguments cons {A X}. |
| 7 | |
| 8 | Notation "[]" := (@nil Type). |
| 9 | Notation "hd :: tl" := (cons hd tl). |
| 10 | |
| 11 | Definition xs := true :: 2137 :: false :: 0 :: []. |
| 12 | Fail Definition ys := xs :: xs. |
| 13 | |
| 14 | (* Goal ys = ys. produced an anomaly "Unable to handle arbitrary u+k <= v constraints" *) |