summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocamlc-stop-after/stop_after_parsing_impl.ml
blob: 3276733c51883d92c04c49f1cac073ea0b6484e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(* TEST
* setup-ocamlc.byte-build-env
** ocamlc.byte
    flags = "-stop-after parsing -dparsetree"
    ocamlc_byte_exit_status = "0"
*** check-ocamlc.byte-output
*)

(* we intentionally write ill-typed output;
   if `-stop-after parsing` was not supported properly,
   the test would fail with an error *)
let _ = (1 + "true") + x