mte/unikernel/duniverse/ppx_compare/test/compare_test.mlt

13 lines
232 B
Text
Raw Normal View History

2025-11-11 02:07:51 +01:00
open Base
module No_comparing2 = struct
(* Checks that we don't trigger an 'unused rec' warning. *)
type t =
{ a : t [@compare.ignore]
; b : (t[@compare.ignore]) * int
}
[@@deriving compare]
end
[%%expect {| |}]