Added some tests to mimic the ones in the python directory. Working my

way through the alphabet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Art Yerkes 2003-03-12 15:25:27 +00:00
commit 448c3c62ab
4 changed files with 24 additions and 180 deletions

View file

@ -0,0 +1,7 @@
open Using_protected
let f = new_FooBar C_void
let _ = (invoke f) "x" (C_int 3)
let _ = if (invoke f) "blah" (C_int 4) <> (C_int 4) then
raise (Failure "blah(int)")