PageRenderTime 48ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1.3.35/Examples/test-suite/octave/class_scope_weird_runme.m

#
MATLAB | 7 lines | 6 code | 1 blank | 0 comment | 1 complexity | 72d496a9cb39d04689a6dd860bca3345 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. class_scope_weird
  2. f = class_scope_weird.Foo();
  3. g = class_scope_weird.Foo(3);
  4. if (f.bar(3) != 3)
  5. error
  6. endif