summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/camlp4/test/fixtures/bug-4058.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/camlp4/test/fixtures/bug-4058.ml')
-rw-r--r--ocaml-binary-annot/camlp4/test/fixtures/bug-4058.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ocaml-binary-annot/camlp4/test/fixtures/bug-4058.ml b/ocaml-binary-annot/camlp4/test/fixtures/bug-4058.ml
new file mode 100644
index 0000000000..f83322bb8e
--- /dev/null
+++ b/ocaml-binary-annot/camlp4/test/fixtures/bug-4058.ml
@@ -0,0 +1,4 @@
+let _ = (fun x -> x), 1
+let _ = (x := 1), 2
+let _ = (x <- 1), 2
+let _ = (if true then 1 else 2), 1