aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/3975.v
diff options
context:
space:
mode:
authorGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2015-10-26 19:41:51 +0100
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2015-10-26 19:41:51 +0100
commit23803338b26bb833e9e5254d5b7ce36ce832ee59 (patch)
tree663efe23ec9605b35f77324eba9d7ea84a9cbbcd /test-suite/bugs/closed/3975.v
parent6417a9e72feb39b87f0b456186100b11d1c87d5f (diff)
Two test-suite files for bugs 3974 and 3975
Diffstat (limited to 'test-suite/bugs/closed/3975.v')
-rw-r--r--test-suite/bugs/closed/3975.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3975.v b/test-suite/bugs/closed/3975.v
new file mode 100644
index 000000000..95851c813
--- /dev/null
+++ b/test-suite/bugs/closed/3975.v
@@ -0,0 +1,8 @@
+Module Type S. End S.
+
+Module M (X:S). End M.
+
+Module Type P (X : S).
+ Print M.
+ (* Used to say: Anomaly: X already exists. Please report. *)
+ (* Should rather : print something :-) *) \ No newline at end of file