☰
Debian Codegraph
@
0.17.0-1
/
/
tests
/
for_ppx_cold_test.ml
☽
☼
tests/for_ppx_cold_test.ml
code
plain
raw
symbols
SCIP
expat
2019-2023 Jane Street Group, LLC
debian/copyright
1
(* Make sure [@cold] gets translated properly *)
2
let
[@
cold
]
succ
x
= x +
1
3
4
(* Make sure [@@cold] gets translated properly *)
5
let
pred
x
= x -
1
[@@
cold
]
6
7
(* Make sure other attributes are left untouched *)
8
let
[@
cold
]
id
x
= x [@
ocaml.warning
"-8"
]