summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t02.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t02.ml')
-rw-r--r--ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t02.ml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t02.ml b/ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t02.ml
new file mode 100644
index 0000000000..d7c9742134
--- /dev/null
+++ b/ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t02.ml
@@ -0,0 +1,10 @@
+module Foo = struct type u type t = int let x = 1 end;;
+module type TFoo = module type of Foo;;
+
+module type TBar = TFoo with type u := float;;
+
+module type Gee =
+ sig
+ module M : module type of Foo
+ include module type of Foo
+ end