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

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

#
Objective C | 14 lines | 9 code | 5 blank | 0 comment | 1 complexity | 1643842d088cade0d029df8cca2ab057 MD5 | raw file
 1dynamic_cast
 2
 3f = dynamic_cast.Foo();
 4b = dynamic_cast.Bar();
 5
 6x = f.blah();
 7y = b.blah();
 8
 9a = dynamic_cast.do_test(y);
10if (!strcmp(a,"Bar::test"))
11  error("Failed!!")
12endif
13
14