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