Mercurial > octave
view test/bug-50014/duplicate_nested_in_subfunction_ok.m @ 31225:3eab70385569
sparse-xpow.cc: Use faster multiplication technique, this time for complex
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Sun, 11 Sep 2022 13:53:38 -0400 |
parents | 0c99b8c2e5bb |
children |
line wrap: on
line source
## Test that duplicate names in separate subfunctions are OK. function retval = duplicate_nested_in_subfunction_ok () retval = sub1 () + sub2 (); endfunction function r = sub1 () function notbug () r = 1; endfunction notbug (); endfunction function r = sub2 () function notbug () r = 2; endfunction notbug (); endfunction