swig/Examples/test-suite/python/iadd_runme.py
Marcelo Matus 757c27826a add iadd test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:10:59 +00:00

9 lines
98 B
Python
Executable file

import iadd
f = iadd.Foo()
f.AsA.x = 3
f.AsA += f.AsA
if f.AsA.x != 6:
raise RuntimeError