swig/Examples/test-suite/octave/iadd_runme.m
2020-08-27 17:19:13 +10:00

10 lines
98 B
Objective-C

iadd
f = iadd.Foo();
f.AsA.x = 3;
f.AsA += f.AsA;
if (f.AsA.x != 6)
error("failed");
endif