Files
ANSLibs/swig-4.3.0/Examples/test-suite/ocaml/template_extend2_runme.ml

9 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")
;;