/trunk/Examples/test-suite/octave/iadd_runme.m

# · MATLAB · 10 lines · 7 code · 3 blank · 0 comment · 1 complexity · a6a6ef493d8e05608bc4d1457867e28b MD5 · raw file

  1. iadd
  2. f = iadd.Foo();
  3. f.AsA.x = 3;
  4. f.AsA += f.AsA;
  5. if (f.AsA.x != 6)
  6. error
  7. endif