summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5940.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/5940.v')
-rw-r--r--test-suite/bugs/closed/5940.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5940.v b/test-suite/bugs/closed/5940.v
new file mode 100644
index 00000000..32c78b4b
--- /dev/null
+++ b/test-suite/bugs/closed/5940.v
@@ -0,0 +1,12 @@
+Require Import Setoid.
+
+Parameter P : nat -> Prop.
+Parameter Q : nat -> Prop.
+Parameter PQ : forall n, P n <-> Q n.
+
+Lemma PQ2 : forall n, P n -> Q n.
+ intros.
+ rewrite PQ in H.
+ trivial.
+Qed.
+