Add runtime tests for inctest, li_cpointer_cpp, newobject2, special_variables, special_variable_macros, template_extend1, and template_extend2.
8 lines
186 B
OCaml
8 lines
186 B
OCaml
open Swig
|
|
open Template_extend2
|
|
|
|
let _ =
|
|
let a = new_lBaz '() and b = new_dBaz '() in
|
|
assert (a -> foo () as string = "lBaz::foo");
|
|
assert (b -> foo () as string = "dBaz::foo")
|
|
;;
|