summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml-annot/success.ml
blob: 126799c980ff5131c5d63a8d7870dcbbcbe82b28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(* TEST

flags = "-annot"
script = "sh ${test_source_directory}/check-annot.sh success"

* setup-ocamlc.byte-build-env
** ocamlc.byte
*** script

* setup-ocamlopt.byte-build-env
** ocamlopt.byte
*** script
*)

(* Check that .annot files are emitted in case of regular successful
   compilation. *)
let a = 3
let b = float a