summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-command-line/test-o-several-files.ml
blob: 8c5f95eedf2d3b6450f42f41e227d9e20b1b37b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(* TEST
 setup-ocamlopt.opt-build-env;
 all_modules = "foo.c bar.c";
 compile_only = "true";
 flags = "-o outputdir/baz.${objext}";
 ocamlopt_opt_exit_status = "2";
 ocamlopt.opt;
 check-ocamlopt.opt-output;
*)

(*
  This test makes sure that the -o option is rejected when trying to
  compile several C files during the same invocatin of the OCaml compiler.
  The test does not need to contain any OCaml code.
*)