fixes and more cases, as usual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
39f173c12a
commit
535ac34ba3
9 changed files with 139 additions and 7 deletions
|
|
@ -3,11 +3,9 @@ a = inplaceadd.A(7)
|
|||
|
||||
a += 5
|
||||
if a.val != 12:
|
||||
print a.val
|
||||
raise RuntimeError
|
||||
|
||||
if a.thisown != 1:
|
||||
raise RuntimeError
|
||||
|
||||
a -= 5
|
||||
if a.val != 7:
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue