aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/ocaml/global_ns_arg_runme.ml
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/ocaml/global_ns_arg_runme.ml')
-rw-r--r--Examples/test-suite/ocaml/global_ns_arg_runme.ml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/global_ns_arg_runme.ml b/Examples/test-suite/ocaml/global_ns_arg_runme.ml
new file mode 100644
index 000000000..7717e52d9
--- /dev/null
+++ b/Examples/test-suite/ocaml/global_ns_arg_runme.ml
@@ -0,0 +1,5 @@
+open Swig
+open Global_ns_arg
+
+let _ = assert ((_foo '(1) as int) = 1)
+let _ = assert ((_bar_fn '() as int) = 1)