summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocamldoc/Alerts_impl.ml
blob: db38c1e573faac02175d40aa8b7788daf7a8d5f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(* TEST
 * ocamldoc with html
 *)

(** Alerts from implementation. *)

let x = 0
[@@deprecated "foo"]

type r = { x : int [@deprecated "foo"] }

type v = C [@deprecated "foo"]

type t [@@deprecated "foo"]

exception E [@deprecated "foo"]

external f : int -> int = "" [@@deprecated "foo"]

type e = ..
type e += Ext [@@deprecated "foo"]
type e += Ext2 [@deprecated "foo"]