summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/3975.v
diff options
context:
space:
mode:
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 00000000..95851c81
--- /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