blob: 7202a8475cd50bf75b445633529d9ca3398b882c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
(* TEST
ocamldoc with latex;
*)
(** Testing display of extensible variant types and exceptions.
@test_types_display
*)
(** Also check reference for {!M.A}, {!M.B}, {!M.C} and {!E} *)
(** Extensible type *)
type e = ..
module M = struct
type e +=
| A (** A doc *)
| B (** B doc *)
| C (** C doc *)
end
module type MT = sig
type e +=
| A (** A doc *)
| B (** B doc *)
| C (** C doc *)
end
exception E
|