This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,9 @@
(library
(name ppx_deriving_example)
(preprocess
(pps ppx_foo_deriver)))
(alias
(package ppxlib)
(name runtest)
(deps ppx_deriving_example.cma))

View file

@ -0,0 +1,16 @@
type t = A [@@deriving_inline foo]
include struct
[@@@ocaml.warning "-60"]
let _ = fun (_ : t) -> ()
module Foo = struct end
let _ =
();
();
[%foo]
end [@@ocaml.doc "@inline"]
[@@@inline.end]