aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-08-29 20:09:20 +0200
committerPierre-Marie Pédrot2020-08-29 20:09:20 +0200
commitfd8da75905aac60d9c38eb0369a3cd10081ce586 (patch)
treeb5cc832da457d24b69f07d7204e7e0d0471abe57 /test-suite/bugs
parent94115a6c760a69f5a9730f48410af98e822336b8 (diff)
parent2269c97be12263f96a538c1c5311b78b3eb67915 (diff)
Merge PR #12929: Make abstract compatible with mangle names
Reviewed-by: jashug Reviewed-by: ppedrot
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/bug_12928.v7
-rw-r--r--test-suite/bugs/closed/bug_3146.v5
2 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_12928.v b/test-suite/bugs/closed/bug_12928.v
new file mode 100644
index 0000000000..2f4d1dd16d
--- /dev/null
+++ b/test-suite/bugs/closed/bug_12928.v
@@ -0,0 +1,7 @@
+
+Lemma test: forall (x:bool) (x: nat), nat.
+Proof. intros y x; abstract (exact x). Qed.
+
+Set Mangle Names.
+Lemma test': forall x : nat, nat.
+Proof. intros x. abstract exact x. Qed.
diff --git a/test-suite/bugs/closed/bug_3146.v b/test-suite/bugs/closed/bug_3146.v
new file mode 100644
index 0000000000..c42e28818a
--- /dev/null
+++ b/test-suite/bugs/closed/bug_3146.v
@@ -0,0 +1,5 @@
+Axiom x : True.
+Goal nat -> nat.
+ intro x.
+ abstract (exact x).
+Qed.