From 1c176005f63ed98429bb85727c64b8d7af04a941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pottier?= Date: Wed, 15 Mar 2017 15:06:28 +0100 Subject: [PATCH] A new test of @build, incomplete. --- test/build.ml | 7 +++++++ test/misc.mllib | 1 + 2 files changed, 8 insertions(+) create mode 100644 test/build.ml diff --git a/test/build.ml b/test/build.ml new file mode 100644 index 0000000..8bd1aa4 --- /dev/null +++ b/test/build.ml @@ -0,0 +1,7 @@ +(* Testing @build attributes. *) + +type foo = + | A + | B of int + | C of foo * foo +[@@deriving visitors { variety = "map" }] diff --git a/test/misc.mllib b/test/misc.mllib index 966dcbc..dc2c878 100644 --- a/test/misc.mllib +++ b/test/misc.mllib @@ -1,3 +1,4 @@ +build cloud delayed_tree dictionary -- GitLab