summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t01.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t01.ml')
-rw-r--r--ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t01.ml19
1 files changed, 19 insertions, 0 deletions
diff --git a/ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t01.ml b/ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t01.ml
new file mode 100644
index 0000000000..6caf3d7afc
--- /dev/null
+++ b/ocaml-binary-annot/testsuite/tests/tool-ocamldoc/t01.ml
@@ -0,0 +1,19 @@
+(** Testing display of types.
+
+ @test_types_display
+ *)
+
+let x = 1
+
+
+module M = struct
+ let y = 2
+
+end
+
+module type MT = sig
+ type t = string -> int -> string -> (string * string * string) ->
+ (string * string * string) ->
+ (string * string * string) -> unit
+ val y : int
+end