aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/1519.v23
-rw-r--r--test-suite/bugs/opened/1773.v10
2 files changed, 33 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/1519.v b/test-suite/bugs/closed/1519.v
new file mode 100644
index 0000000000..98e3e2144c
--- /dev/null
+++ b/test-suite/bugs/closed/1519.v
@@ -0,0 +1,23 @@
+Section S.
+
+ Variable A:Prop.
+ Variable W:A.
+
+ Remark T: A -> A.
+ intro Z.
+ rename W into Z_.
+ rename Z into W.
+ rename Z_ into Z.
+ exact Z.
+ Qed.
+
+ (* bug :
+ Error:
+ Unbound reference: In environment
+ A : Prop
+ W : A
+ Z : A
+ The reference 2 is free
+ *)
+
+End S.
diff --git a/test-suite/bugs/opened/1773.v b/test-suite/bugs/opened/1773.v
new file mode 100644
index 0000000000..4aabf19c98
--- /dev/null
+++ b/test-suite/bugs/opened/1773.v
@@ -0,0 +1,10 @@
+Goal forall B C : nat -> nat -> Prop, forall k, C 0 k ->
+ (exists A, (forall k', C A k' -> B A k') -> B A k).
+Proof.
+ intros B C k H.
+ econstructor.
+ intros X.
+ apply X.
+ apply H.
+Qed.
+