diff options
| -rw-r--r-- | test-suite/success/Destruct.v | 13 | ||||
| -rw-r--r-- | test-suite/success/destruct.v | 16 |
2 files changed, 16 insertions, 13 deletions
diff --git a/test-suite/success/Destruct.v b/test-suite/success/Destruct.v deleted file mode 100644 index b909e45e72..0000000000 --- a/test-suite/success/Destruct.v +++ /dev/null @@ -1,13 +0,0 @@ -(* Submitted by Robert Schneck *) - -Parameter A B C D : Prop. -Axiom X : A -> B -> C /\ D. - -Lemma foo : A -> B -> C. -Proof. -intros. -destruct X. (* Should find axiom X and should handle arguments of X *) -assumption. -assumption. -assumption. -Qed. diff --git a/test-suite/success/destruct.v b/test-suite/success/destruct.v index ede573a34e..9f938e10f4 100644 --- a/test-suite/success/destruct.v +++ b/test-suite/success/destruct.v @@ -1,3 +1,17 @@ +(* Submitted by Robert Schneck *) + +Parameter A B C D : Prop. +Axiom X : A -> B -> C /\ D. + +Lemma foo : A -> B -> C. +Proof. +intros. +destruct X. (* Should find axiom X and should handle arguments of X *) +assumption. +assumption. +assumption. +Qed. + (* Simplification of bug 711 *) Parameter f : true = false. @@ -7,3 +21,5 @@ set (b := true) in *. (* Check that it doesn't fail with an anomaly *) (* Ultimately, adapt destruct to make it succeeding *) try destruct b. +Abort. + |
