summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocamlopt-stop-after/stop_after_lambda.ml
blob: 591f3d112b4b96cd110d69c8f6dd87be8070c0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(* TEST
* no-flambda
** setup-ocamlopt.byte-build-env
*** ocamlopt.byte
    flags = "-dlambda -stop-after lambda -nopervasives "
    ocamlopt_byte_exit_status = "0"
**** check-ocamlopt.byte-output
*)

(* no-flambda: the -lambda output differs with flambda, and
   maintaining two outputs is inconvenient for a test that is not
   really related to code generation. *)

external p : int -> unit = ""
let () = p 1