PageRenderTime 37ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
MATLAB | 10 lines | 7 code | 3 blank | 0 comment | 1 complexity | a6a6ef493d8e05608bc4d1457867e28b MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  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