summaryrefslogtreecommitdiff
path: root/testsuite/tests/callback/test4.ml
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez@inria.fr>2023-04-25 15:25:52 +0100
committerGitHub <noreply@github.com>2023-04-25 16:25:52 +0200
commit0a7c5fe35f4be2ea5c834b586fb5e947bd952377 (patch)
tree0d66e63cda683098b81ef07f2dad09e9a9c85477 /testsuite/tests/callback/test4.ml
parent6be361ffd75a2fce5f4daa21fd5073b9a18ce31c (diff)
downloadocaml-0a7c5fe35f4be2ea5c834b586fb5e947bd952377.tar.gz
New script language for ocamltest (#12185)
New test script language, all tests translated automatically (see `tools/translate-all-tests`).
Diffstat (limited to 'testsuite/tests/callback/test4.ml')
-rw-r--r--testsuite/tests/callback/test4.ml13
1 files changed, 8 insertions, 5 deletions
diff --git a/testsuite/tests/callback/test4.ml b/testsuite/tests/callback/test4.ml
index 3c42317d7e..5f51c45158 100644
--- a/testsuite/tests/callback/test4.ml
+++ b/testsuite/tests/callback/test4.ml
@@ -1,9 +1,12 @@
(* TEST
- include unix
- modules = "test4_.c"
- * libunix
- ** bytecode
- ** native
+ include unix;
+ modules = "test4_.c";
+ libunix;
+ {
+ bytecode;
+ }{
+ native;
+ }
*)
(* Tests nested calls from C (main C) to OCaml (main OCaml) to C (caml_to_c) to