test-suite/bugs/bug_21304.v
raw| 1 | (* NB this test can be removed once dynamic scheme declaration is removed |
| 2 | (ie when warning "missing-scheme" is replaced by an error) *) |
| 3 | Inductive equal T (x : T) : T -> Type := Equal : equal T x x. |
| 4 | |
| 5 | Lemma foo : forall a b, equal nat a b -> a = b. |
| 6 | Proof. |
| 7 | intros a b H. |
| 8 | rewrite <- H, H. |
| 9 | Abort. |