Files
ANSLibs/swig-4.3.0/Examples/test-suite/python/iadd_runme.py

10 lines
97 B
Python
Raw Normal View History

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