aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-12-22 22:31:17 +0100
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-12-22 22:33:22 +0100
commit50c7e47da5e9eac9228ff0e2feeb283fcfebe1bc (patch)
tree65b3a36a97f66ef3c680872d890d75fa3c589651 /test-suite/bugs/closed
parentf5575393258492837d3764d07f8290b576f61160 (diff)
Fixing #5277 (Scheme Equality not robust wrt choice of names).
This is only a quick fix, as hinted by Jason.
Diffstat (limited to 'test-suite/bugs/closed')
-rw-r--r--test-suite/bugs/closed/5277.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5277.v b/test-suite/bugs/closed/5277.v
new file mode 100644
index 000000000..7abc38bfc
--- /dev/null
+++ b/test-suite/bugs/closed/5277.v
@@ -0,0 +1,11 @@
+(* Scheme Equality not robust wrt names *)
+
+Module A1.
+ Inductive A (T : Type) := C (a : T).
+ Scheme Equality for A. (* success *)
+End A1.
+
+Module A2.
+ Inductive A (x : Type) := C (a : x).
+ Scheme Equality for A.
+End A2.