PageRenderTime 21ms CodeModel.GetById 15ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

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

#
Objective C | 13 lines | 9 code | 4 blank | 0 comment | 4 complexity | bb570cb85bf7fc904e7f50390dc492a3 MD5 | raw file
 1overload_subtype
 2
 3f = Foo();
 4b = Bar();
 5
 6if (spam(f) != 1)
 7    error("foo")
 8endif
 9
10if (spam(b) != 2)
11    error("bar")
12endif
13