test-suite/bugs/bug_5769.v
raw| 1 | (* Check a few naming heuristics based on types *) |
| 2 | (* was buggy for types names _something *) |
| 3 | |
| 4 | Inductive _foo :=. |
| 5 | Lemma bob : (sigT (fun x : nat => _foo)) -> _foo. |
| 6 | destruct 1. |
| 7 | exact _f. |
| 8 | Abort. |
| 9 | |
| 10 | Inductive _'Foo :=. |
| 11 | Lemma bob : (sigT (fun x : nat => _'Foo)) -> _'Foo. |
| 12 | destruct 1. |
| 13 | exact _'f. |
| 14 | Abort. |
| 15 | |
| 16 | Inductive ____ :=. |
| 17 | Lemma bob : (sigT (fun x : nat => ____)) -> ____. |
| 18 | destruct 1. |
| 19 | exact x0. |
| 20 | Abort. |