add iadd test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
65c6cd4a4c
commit
757c27826a
4 changed files with 47 additions and 22 deletions
|
|
@ -1,5 +1,9 @@
|
|||
import iadd
|
||||
|
||||
f = iadd.Foo()
|
||||
|
||||
f.AsA.x = 3
|
||||
f.AsA += f.AsA
|
||||
|
||||
if f.AsA.x != 6:
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue