PageRenderTime 14ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Objective C | 12 lines | 9 code | 3 blank | 0 comment | 4 complexity | 7f69a00d3d643fd58201f28bfa3b4323 MD5 | raw file
 1director_extend
 2
 3MyObject=@() subclass(SpObject(),'getFoo',@(self) 123);
 4    
 5m = MyObject();
 6if (m.dummy() != 666)
 7  error("1st call")
 8endif
 9if (m.dummy() != 666)
10  error("2nd call")
11endif
12