added a reference polymorphic return type case, and

some extra test for the Java side.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2003-12-24 06:53:47 +00:00
commit b45d143ea2
3 changed files with 41 additions and 0 deletions

View file

@ -21,6 +21,10 @@ if (i.get() + 1) != ic.get():
raise RuntimeError
dr = d.ref_this()
if d.get() != dr.get():
raise RuntimeError
#
# 'narrowing' also works