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

10 lines
159 B
OCaml
Raw Normal View History

open Swig
open Dynamic_cast
let f = new_Foo '()
let b = new_Bar '()
let x = f -> blah ()
let y = b -> blah ()
assert (_do_test '(y) as string = "Bar::test")