File: test_runtime.cppo.ml

package info (click to toggle)
ppx-deriving 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 532 kB
  • sloc: ml: 3,983; makefile: 26; sh: 15
file content (39 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
36
37
38
39
let test_ref_included
  (x : 'a ref)
  =
  (x : 'a Ppx_deriving_runtime.ref)

let test_ref_qualified
  (x : 'a ref)
  =
  (x : 'a Ppx_deriving_runtime.Stdlib.ref)

let test_backtrace
  (x : Printexc.raw_backtrace)
  =
  (x : Ppx_deriving_runtime.Printexc.raw_backtrace)

let test_hashtbl
  (x : ('a, 'b) Hashtbl.t)
  =
  (x : ('a, 'b) Ppx_deriving_runtime.Hashtbl.t)

let test_result_qualified
  (x : ('a, 'b) result)
  =
  (x : ('a, 'b) result)

#if OCAML_VERSION >= (4, 06, 0)
let test_result_included
  (x : ('a, 'b) result)
  =
  (x : ('a, 'b) result)
#endif

#if OCAML_VERSION >= (4, 07, 0)
let test_result_in_stdlib
  (x : ('a, 'b) Stdlib.result)
  =
  (x : ('a, 'b) result)
#endif