/trunk/Examples/test-suite/octave/smart_pointer_rename_runme.m
MATLAB | 17 lines | 12 code | 5 blank | 0 comment | 3 complexity | 1ad97ac0b9d03abd29769f467355494e MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- smart_pointer_rename
- f = Foo();
- b = Bar(f);
- if (b.test() != 3)
- error
- endif
- if (b.ftest1(1) != 1)
- error
- endif
- if (b.ftest2(2,3) != 2)
- error
- endif