summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml/t180-appterm2.ml
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2018-04-06 08:08:50 +0200
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2018-04-06 09:49:00 +0200
commit64b747c5ba79d0dc79b3fe60a39fbaceb6edd122 (patch)
tree44ce090f7ab82a9c1a7be194e3036a1a59fed399 /testsuite/tests/tool-ocaml/t180-appterm2.ml
parent6a4352ad752fe5b21cbaab640e63c78104f3c038 (diff)
downloadocaml-64b747c5ba79d0dc79b3fe60a39fbaceb6edd122.tar.gz
Migrate the tool-ocaml tests to ocamltest
Diffstat (limited to 'testsuite/tests/tool-ocaml/t180-appterm2.ml')
-rw-r--r--testsuite/tests/tool-ocaml/t180-appterm2.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/tool-ocaml/t180-appterm2.ml b/testsuite/tests/tool-ocaml/t180-appterm2.ml
index 850301d089..e3b9d62a33 100644
--- a/testsuite/tests/tool-ocaml/t180-appterm2.ml
+++ b/testsuite/tests/tool-ocaml/t180-appterm2.ml
@@ -1,3 +1,11 @@
+(* TEST
+include tool-ocaml-lib
+flags = "-w a"
+ocaml_script_as_argument = "true"
+* setup-ocaml-build-env
+** ocaml
+*)
+
open Lib;;
let f _ _ = 12 in
let g _ = f 0 0 in