aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/3264.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2014-06-22 18:09:09 -0400
committerGravatar Jason Gross <jgross@mit.edu>2014-06-22 20:43:44 -0400
commit75940a69b0151191ded0ff153ec5490436786faa (patch)
tree5fba0102d1485fdaf0e309fe3aed11360a3ed036 /test-suite/bugs/closed/3264.v
parent60648dacca424a2f1d5c5a4634dd276b4dbe3fb7 (diff)
More test-suite cases
Diffstat (limited to 'test-suite/bugs/closed/3264.v')
-rw-r--r--test-suite/bugs/closed/3264.v45
1 files changed, 45 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3264.v b/test-suite/bugs/closed/3264.v
new file mode 100644
index 000000000..4eb218906
--- /dev/null
+++ b/test-suite/bugs/closed/3264.v
@@ -0,0 +1,45 @@
+Module File1.
+ Module Export DirA.
+ Module A.
+ Inductive paths {A : Type} (a : A) : A -> Type :=
+ idpath : paths a a.
+
+ Arguments idpath {A a} , [A] a.
+
+ Notation "x = y :> A" := (@paths A x y) : type_scope.
+ Notation "x = y" := (x = y :>_) : type_scope.
+ End A.
+ End DirA.
+End File1.
+
+Module File2.
+ Module Export DirA.
+ Module B.
+ Import File1.
+ Export A.
+ Lemma foo : forall x y : Type, x = y -> y = x.
+ Proof.
+ intros x y H.
+ rewrite <- H.
+ constructor.
+ Qed.
+ End B.
+ End DirA.
+End File2.
+
+Module File3.
+ Module Export DirA.
+ Module C.
+ Import File1.
+ Export A.
+ Lemma bar : forall x y : Type, x = y -> y = x.
+ Proof.
+ intros x y H.
+ rewrite <- H.
+ constructor.
+ Defined.
+ Definition bar'
+ := Eval cbv beta iota zeta delta [bar internal_paths_rew] in bar.
+ End C.
+ End DirA.
+End File3.