summaryrefslogtreecommitdiff
path: root/Examples/test-suite/ocaml/sizet_runme.ml
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/ocaml/sizet_runme.ml')
-rw-r--r--Examples/test-suite/ocaml/sizet_runme.ml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/sizet_runme.ml b/Examples/test-suite/ocaml/sizet_runme.ml
new file mode 100644
index 000000000..5f72459c9
--- /dev/null
+++ b/Examples/test-suite/ocaml/sizet_runme.ml
@@ -0,0 +1,10 @@
+open Swig
+open Sizet
+
+let _ =
+ let s = C_int64 2000L in
+ assert (_test1 '(s) as int = 2000);
+ assert (_test2 '(s) as int = 2000);
+ assert (_test3 '(s) as int = 2000);
+ assert (_test4 '(s) as int = 2000);
+;;