summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/3974.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/3974.v')
-rw-r--r--test-suite/bugs/closed/3974.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3974.v b/test-suite/bugs/closed/3974.v
new file mode 100644
index 00000000..b6be1595
--- /dev/null
+++ b/test-suite/bugs/closed/3974.v
@@ -0,0 +1,7 @@
+Module Type S.
+End S.
+
+Module Type M (X : S).
+ Fail Module P (X : S).
+ (* Used to say: Anomaly: X already exists. Please report. *)
+ (* Should rather say now: Error: X already exists. *) \ No newline at end of file