aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/3509.v
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-07-28 13:47:39 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-07-28 13:47:39 +0200
commit3bdadb4020c1d3e51957a06c1e3a52744f09148d (patch)
tree4236eaa3d1858de16882223fd2eabeb30216c44d /test-suite/bugs/closed/3509.v
parent86e2b0ab9da7dbd9c4c39ab2ab8df05d94a42056 (diff)
Tests for bugs #3509 and #3510.
Diffstat (limited to 'test-suite/bugs/closed/3509.v')
-rw-r--r--test-suite/bugs/closed/3509.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3509.v b/test-suite/bugs/closed/3509.v
new file mode 100644
index 000000000..822662267
--- /dev/null
+++ b/test-suite/bugs/closed/3509.v
@@ -0,0 +1,6 @@
+Inductive T := Foo : T.
+Axiom (b : T) (R : forall x : T, Prop) (f : forall x : T, R x).
+Axiom a1 : match b with Foo => f end = f.
+Axiom a2 : match b with Foo => f b end = f b.
+Hint Rewrite a1 : bar.
+Hint Rewrite a2 : bar.