/tags/rel-1.3.35/Examples/test-suite/octave/ret_by_value_runme.m
# · MATLAB · 10 lines · 8 code · 2 blank · 0 comment · 2 complexity · 076a972c7c01327a1566738fedb77afd MD5 · raw file
- ret_by_value
- a = ret_by_value.get_test();
- if (a.myInt != 100)
- error
- endif
- if (a.myShort != 200)
- error
- endif