summaryrefslogtreecommitdiff
path: root/testsuite/tests/typing-modules-bugs/pr5164_ok.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typing-modules-bugs/pr5164_ok.ml')
-rw-r--r--testsuite/tests/typing-modules-bugs/pr5164_ok.ml9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typing-modules-bugs/pr5164_ok.ml b/testsuite/tests/typing-modules-bugs/pr5164_ok.ml
new file mode 100644
index 0000000000..7de770ed6a
--- /dev/null
+++ b/testsuite/tests/typing-modules-bugs/pr5164_ok.ml
@@ -0,0 +1,9 @@
+module type INCLUDING = sig
+ include module type of List
+ include module type of ListLabels
+end
+
+module Including_typed: INCLUDING = struct
+ include List
+ include ListLabels
+end