diff --git a/Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml b/Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml new file mode 100644 index 000000000..88be24fcb --- /dev/null +++ b/Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml @@ -0,0 +1,7 @@ +open Swig +open Rename_rstrip_encoder + +let s = new_SomeThing '() +let a = new_AnotherThing '() in + assert (a -> DoClsX () = C_void); +;; diff --git a/Examples/test-suite/ocaml/using2_runme.ml b/Examples/test-suite/ocaml/using2_runme.ml new file mode 100644 index 000000000..1ec9e2e55 --- /dev/null +++ b/Examples/test-suite/ocaml/using2_runme.ml @@ -0,0 +1,4 @@ +open Swig +open Using2 + +let _ = assert (_spam '(37) as int = 37)