aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorcoqbot-app[bot]2020-11-16 14:07:25 +0000
committerGitHub2020-11-16 14:07:25 +0000
commit1369d1426b0187bb817606966c32fdaf9afe4ed1 (patch)
treeb032cdae0629912df49aac8d3fee76ec8f3599cc /test-suite
parent89a4b7e7dd82bd46db2d00b6e48b8989d3a5372b (diff)
parent5ded9cae169799a51aa713c9f2807d356a37fb58 (diff)
Merge PR #13337: Avoid exposing an internal name when "intros _ H" fails because of _ being dependent in H
Reviewed-by: gares
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/output/Tactics.out2
-rw-r--r--test-suite/output/Tactics.v8
2 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/output/Tactics.out b/test-suite/output/Tactics.out
index 70427220ed..3f07261ca6 100644
--- a/test-suite/output/Tactics.out
+++ b/test-suite/output/Tactics.out
@@ -7,3 +7,5 @@ H is already used.
The command has indeed failed with message:
H is already used.
a
+The command has indeed failed with message:
+This variable is used in hypothesis H.
diff --git a/test-suite/output/Tactics.v b/test-suite/output/Tactics.v
index 96b6d652c9..8526e43a23 100644
--- a/test-suite/output/Tactics.v
+++ b/test-suite/output/Tactics.v
@@ -30,3 +30,11 @@ Goal True.
assert_succeeds should_not_loop.
assert_succeeds (idtac "a" + idtac "b"). (* should only output "a" *)
Abort.
+
+Module IntroWildcard.
+
+Theorem foo : { p:nat*nat & p = (0,0) } -> True.
+Fail intros ((n,_),H).
+Abort.
+
+End IntroWildcard.