/trunk/Examples/test-suite/ocaml/class_ignore_runme.ml
OCaml | 7 lines | 5 code | 2 blank | 0 comment | 0 complexity | 494fe479ac072c934c35eb330c9bc28f MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- open Swig
- open Class_ignore
- let a = new_Bar C_void
- let _ = (if _do_blah a <> C_string "Bar::blah" then
- raise (Failure "We didn't really get a bar object."))