summaryrefslogtreecommitdiff
path: root/Examples/test-suite/ocaml/name_runme.ml
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/ocaml/name_runme.ml')
-rw-r--r--Examples/test-suite/ocaml/name_runme.ml9
1 files changed, 9 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/name_runme.ml b/Examples/test-suite/ocaml/name_runme.ml
new file mode 100644
index 0000000..1e4e62c
--- /dev/null
+++ b/Examples/test-suite/ocaml/name_runme.ml
@@ -0,0 +1,9 @@
+open Swig
+open Name
+
+let _ = if (get_int (_Baz_2 C_void)) - (get_int (_bar_2 C_void)) == 30
+then
+ exit 0
+else
+ exit 1
+