aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2014-11-03 15:23:57 +0100
committerHugo Herbelin2014-11-03 15:53:49 +0100
commitc4f270f573360e39bd91e3ffff8d37775b2871d7 (patch)
tree7419764e14de7287b48f448dde27272beb7eedf5 /test-suite
parent7af811e5100839484cbed0126b5c37a972487ec3 (diff)
Subtle swap of lines to preserve VarInstance src field before checking
for residual unifiable evars (otherwise "thin" from logic.ml, erases the src field) + typo.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/destruct.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/success/destruct.v b/test-suite/success/destruct.v
index 0faaa275f2..8e9be2e403 100644
--- a/test-suite/success/destruct.v
+++ b/test-suite/success/destruct.v
@@ -369,3 +369,10 @@ intros.
destruct (H _).
change (0=0) in H0. (* Check generalization on H0 was made *)
Abort.
+
+(* Check absence of anomaly (failed at some time) *)
+
+Goal forall A (a:A) (P Q:A->Prop), (forall a, P a -> Q a) -> True.
+intros.
+Fail destruct H.
+Abort.