aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <mattam@mattam.org>2015-02-18 17:08:28 +0100
committerGravatar Matthieu Sozeau <mattam@mattam.org>2015-02-18 17:08:41 +0100
commit29ba692f0fd25ce87392bbb7494cb62e3b97dc07 (patch)
tree546fc22d794350fd0ba17750ba83ee394fbf0deb /test-suite/bugs/closed
parentcdbfad340dcd8cd3428853886964882b389776c6 (diff)
Fix bug #3938
Diffstat (limited to 'test-suite/bugs/closed')
-rw-r--r--test-suite/bugs/closed/3938.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3938.v b/test-suite/bugs/closed/3938.v
new file mode 100644
index 000000000..984431338
--- /dev/null
+++ b/test-suite/bugs/closed/3938.v
@@ -0,0 +1,7 @@
+Require Import Coq.Arith.PeanoNat.
+Hint Extern 1 => admit : typeclass_instances.
+Require Import Setoid.
+Goal forall a b (f : nat -> Set) (R : nat -> nat -> Prop),
+ Equivalence R -> R a b -> f a = f b.
+ intros a b f H.
+ intros. Fail rewrite H1.