diff options
| author | herbelin | 2010-06-13 11:09:51 +0000 |
|---|---|---|
| committer | herbelin | 2010-06-13 11:09:51 +0000 |
| commit | 928d186f5dcc649793ea9f3dd8f880d93786dfe7 (patch) | |
| tree | 35dba013cc375c73fd78d4476e326dfca747d127 /test-suite | |
| parent | f30692968587b96d7be86062efa57a777ddbbf09 (diff) | |
Fixed bug #2314 (inversion using not checking the correctness of its arguments
enough)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13126 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/Inversion.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/success/Inversion.v b/test-suite/success/Inversion.v index 5091b44c1c..043d949c91 100644 --- a/test-suite/success/Inversion.v +++ b/test-suite/success/Inversion.v @@ -129,3 +129,10 @@ Proof. an inconsistent state that disturbed "inversion" *) intros. inversion H. Abort. + +(* Bug #2314 (simplified): check that errors do not show as anomalies *) + +Goal True -> True. +intro. +Fail inversion H using False. +Fail inversion foo using True_ind. |
