summaryrefslogtreecommitdiff
path: root/testsuite/tests/basic-more/opaque_prim.ml
blob: bdb60250ee9d7692dfaf6cb769240b54014de629 (plain)
1
2
3
4
5
6
7
8
9
10
(* TEST
   include testing
*)

let f x = Sys.opaque_identity x

let () =
  assert(f f == f);
  assert(Sys.opaque_identity 1 = 1);
  assert(Sys.opaque_identity 1. = 1.)