summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-10-19 07:42:11 +1300
committerOlly Betts <olly@survex.com>2022-10-19 07:42:11 +1300
commit867e49d7c50aded9afdd36223f05b84645636f15 (patch)
tree73accac3f8ce544bfcb7d62639d50e83f42c7a88
parentea514c39615f616ced604ecbef4b8f42aee8148e (diff)
downloadswig-867e49d7c50aded9afdd36223f05b84645636f15.tar.gz
[Ocaml] Add mod_runme.ml
See #2126
-rw-r--r--Examples/test-suite/ocaml/mod_runme.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/mod_runme.ml b/Examples/test-suite/ocaml/mod_runme.ml
new file mode 100644
index 000000000..8adb50b6f
--- /dev/null
+++ b/Examples/test-suite/ocaml/mod_runme.ml
@@ -0,0 +1,7 @@
+open Swig
+open Mod_a
+open Mod_b
+
+let c = new_C '()
+let d = new_D '()
+let _ = d -> "DoSomething" (c)