diff options
Diffstat (limited to 'Examples/test-suite/ocaml/extend_template_runme.ml')
-rw-r--r-- | Examples/test-suite/ocaml/extend_template_runme.ml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/extend_template_runme.ml b/Examples/test-suite/ocaml/extend_template_runme.ml new file mode 100644 index 000000000..2d611a14a --- /dev/null +++ b/Examples/test-suite/ocaml/extend_template_runme.ml @@ -0,0 +1,8 @@ +open Swig +open Extend_template + +let f = new_Foo_0 '() +let _ = + assert((f -> "test1" (37) as int) = 37); + assert((f -> "test2" (42) as int) = 42); +;; |