PageRenderTime 72ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
MATLAB | 14 lines | 9 code | 5 blank | 0 comment | 1 complexity | 973ae631695fda62a73edceff5cb06c8 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. naturalvar
  2. f = Foo();
  3. b = Bar();
  4. b.f = f;
  5. cvar.s = "hello";
  6. b.s = "hello";
  7. if (b.s != cvar.s)
  8. error
  9. endif