[OCaml] Runtime tests for constructor_rename, cpp_nodefault and some others
Add runtime tests for constructor_rename, cpp_nodefault, extend, extend_special_variables, extend_template, extern_c, and global_ns_arg.
This commit is contained in:
parent
b82d3007f3
commit
5b6c57e6ae
7 changed files with 80 additions and 0 deletions
5
Examples/test-suite/ocaml/global_ns_arg_runme.ml
Normal file
5
Examples/test-suite/ocaml/global_ns_arg_runme.ml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
open Swig
|
||||
open Global_ns_arg
|
||||
|
||||
let _ = assert ((_foo '(1) as int) = 1)
|
||||
let _ = assert ((_bar_fn '(1) as int) = 1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue