aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-10-14 16:54:49 +0200
committerGaëtan Gilbert2020-10-14 16:55:28 +0200
commitffebade4b474be2b14117fe92d3ca72813d2d938 (patch)
treed576ed6c0189104252a30d8725a9f2f171959a03 /test-suite
parent411025844a4c005ce03d77c6c640807c28269d4a (diff)
Fix anomaly when importing a functor
Fix #13162
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_13162.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_13162.v b/test-suite/bugs/closed/bug_13162.v
new file mode 100644
index 0000000000..eacc8980a9
--- /dev/null
+++ b/test-suite/bugs/closed/bug_13162.v
@@ -0,0 +1,7 @@
+
+Module Type T. End T.
+Module F (X:T). End F.
+Fail Import F.
+(* Error: Anomaly "Uncaught exception Not_found." *)
+
+Fail Import T.