Mercurial > octave
view test/fcn-handle/bug58519.tst @ 31197:8d4c87e88d0e
maint: Merge stable to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 23 Aug 2022 19:45:19 +0200 |
parents | 713398d4a3c3 |
children |
line wrap: on
line source
%!test <*58519> %! fieldname = "a"; %! structure = struct (fieldname, 42); %! anonfunc = @ () structure.(fieldname); %! assert (anonfunc (), 42)