aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/ocaml/dynamic_cast_runme.ml
blob: 54391d9a019d25c7f7a247dc77d1e851125254ca (plain)
1
2
3
4
5
6
7
8
9
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")