summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/camlp4/test/fixtures/fun.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/camlp4/test/fixtures/fun.ml')
-rw-r--r--ocaml-binary-annot/camlp4/test/fixtures/fun.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ocaml-binary-annot/camlp4/test/fixtures/fun.ml b/ocaml-binary-annot/camlp4/test/fixtures/fun.ml
new file mode 100644
index 0000000000..6c3264df72
--- /dev/null
+++ b/ocaml-binary-annot/camlp4/test/fixtures/fun.ml
@@ -0,0 +1,7 @@
+value f = fun [];
+value f = fun [ [] -> fun [ 4 -> () ] ];
+value f = fun [];
+value f = fun [];
+value f = fun [];
+value f = g x y;
+value f = (g x) y;