From a448ed995e376e87cbc0584dabda55eaaa7c53d2 Mon Sep 17 00:00:00 2001 From: herbelin Date: Mon, 5 Apr 2010 11:21:44 +0000 Subject: Granting wish #2251 (forbidding rewriting a term reduced to an evar) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12900 85f007b7-540e-0410-9357-904b9bb8a0f7 --- test-suite/bugs/closed/shouldfail/2251.v | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test-suite/bugs/closed/shouldfail/2251.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/shouldfail/2251.v b/test-suite/bugs/closed/shouldfail/2251.v new file mode 100644 index 0000000000..642717f4ac --- /dev/null +++ b/test-suite/bugs/closed/shouldfail/2251.v @@ -0,0 +1,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. -- cgit v1.2.3