[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/constructor_rename_runme.ml
Normal file
5
Examples/test-suite/ocaml/constructor_rename_runme.ml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
open Swig
|
||||
open Constructor_rename
|
||||
|
||||
let x = new_RenamedConstructor '()
|
||||
let _ = assert ((x -> ":classof" () as string) = "Foo")
|
||||
Loading…
Add table
Add a link
Reference in a new issue