summaryrefslogtreecommitdiff
path: root/testsuite/tests/badly-ordered-deps/main.ml
blob: ff4d1c90a1473831ec6ac3ea5bc8a00e01144063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(* TEST

(* Make sure ocamlc prints badly ordeered dependencies only once.
   See issue #12074. We test with ocamlc.byte only. *)

modules = "lib.ml"

* setup-ocamlc.byte-build-env

** ocamlc.byte
all_modules = "main.ml"
compile_only = "true"

*** ocamlc.byte
all_modules = "lib.ml"

**** ocamlc.byte
all_modules = "lib.cmo main.cmo"
compile_only = "false"
ocamlc_byte_exit_status = "2"

***** check-ocamlc.byte-output

*)

let value = ()