Added name_runme.ml

Proves solution to rename and %constant.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Art Yerkes 2003-04-19 00:34:26 +00:00
commit 41eaa3854d
2 changed files with 9 additions and 1 deletions

View file

@ -18,4 +18,4 @@ echo "Making the test"
make $swigtest
echo "Building ${thetest}_top"
gcc -c -g $cppopt -I$OCAMLINC ${thetest}_wrap.c
ocamlmktop -cclib -g -custom ${thetest}_wrap.o ${thetest}.cmo -o ${thetest}_top
ocamlmktop -cclib -g -custom ${thetest}_wrap.o ${thetest}.cmo -o ${thetest}_top -cclib -lstdc++

View file

@ -0,0 +1,8 @@
open Name
let _ = if (get_int _Baz_2) - (get_int (_bar_2 C_void)) == 30
then
exit 0
else
exit 1