Mercurial > octave
view test/fcn-handle/bug58519.tst @ 31221:f5755dbacd8d
maint: merge stable to default
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Wed, 31 Aug 2022 22:04:02 +0200 |
parents | 713398d4a3c3 |
children |
line wrap: on
line source
%!test <*58519> %! fieldname = "a"; %! structure = struct (fieldname, 42); %! anonfunc = @ () structure.(fieldname); %! assert (anonfunc (), 42)