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:
parent
36a25d1f78
commit
b45d143ea2
3 changed files with 41 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue