aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/ocaml/mod_runme.ml
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/ocaml/mod_runme.ml')
-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)