[OCaml] class_scope_weird, cpp_static, and ignore_parameter runtime tests
They are based on the corresponding python runtime tests.
This commit is contained in:
parent
b64d685d5f
commit
5bdb52b319
3 changed files with 43 additions and 0 deletions
6
Examples/test-suite/ocaml/class_scope_weird_runme.ml
Normal file
6
Examples/test-suite/ocaml/class_scope_weird_runme.ml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue