diff options
| author | herbelin | 2008-11-09 21:09:24 +0000 |
|---|---|---|
| committer | herbelin | 2008-11-09 21:09:24 +0000 |
| commit | f76dc3d0a3e677e6e93f60adbc7522d23aa12654 (patch) | |
| tree | 30bcd97f2da77d2768332e8a87763fab2302df8d | |
| parent | a814dc7903b1405c195ec6023edef1d5a1b85653 (diff) | |
- Correction erreur dans test output Notation.v
- Ajout test pour non-régression du bug #1968
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11569 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | test-suite/output/Notations.v | 2 | ||||
| -rw-r--r-- | test-suite/success/Inversion.v | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/output/Notations.v b/test-suite/output/Notations.v index 4577f0e196..b37c3638af 100644 --- a/test-suite/output/Notations.v +++ b/test-suite/output/Notations.v @@ -145,6 +145,8 @@ Check (false && I 3)%bool /\ I 6. (**********************************************************************) (* Check notations with several recursive patterns *) +Open Scope Z_scope. + Notation "[| x , y , .. , z ; a , b , .. , c |]" := (pair (pair .. (pair x y) .. z) (pair .. (pair a b) .. c)). Check [|1,2,3;4,5,6|]. diff --git a/test-suite/success/Inversion.v b/test-suite/success/Inversion.v index f83328e822..54b03b3eba 100644 --- a/test-suite/success/Inversion.v +++ b/test-suite/success/Inversion.v @@ -99,3 +99,11 @@ Lemma depinv : forall a b, foo a b -> True. intros a b H. inversion H. Abort. + +(* Check non-regression of bug #1968 *) + +Inductive foo : option nat -> Prop := Foo : forall t, foo (Some t). +Goal forall o, foo o -> 0 = 1. +intros. +eapply trans_eq. +inversion H. |
