summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/shouldfail/2251.v
blob: 642717f4ac2099fa98ad2bdf6b73e2c2dbd57f91 (plain)
1
2
3
4
5
(* Check that rewrite does not apply to single evars *)

Lemma evar_rewrite : (forall a : nat, a = 0 -> True) -> True.
intros; eapply H.  (* goal is  ?30 = nil  *)
rewrite plus_n_Sm.