swig/Examples/test-suite/ocaml/class_scope_weird_runme.ml
Zackery Spytz 5bdb52b319 [OCaml] class_scope_weird, cpp_static, and ignore_parameter runtime tests
They are based on the corresponding python runtime tests.
2019-01-11 19:35:17 +00:00

6 lines
143 B
OCaml

open Swig
open Class_scope_weird
let f = new_Foo (C_void)
let g = new_Foo (C_int 3)
let _ = assert (get_int ((invoke f) "bar" (C_int 3)) = 3)