Mercurial > octave
comparison test/fcn-handle/bug58519.tst @ 28579:713398d4a3c3
update bug status of tests marked with bug numbers
After running make update-bug-status, the following files were
modified: pt-tm-const.cc, Sparse.cc, bug58519.tst, io.tst, nest.tst.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 14 Jul 2020 16:46:37 -0400 |
parents | bdd52f5e4170 |
children |
comparison
equal
deleted
inserted
replaced
28578:2d2bed795727 | 28579:713398d4a3c3 |
---|---|
1 %!test <58519> | 1 %!test <*58519> |
2 %! fieldname = "a"; | 2 %! fieldname = "a"; |
3 %! structure = struct (fieldname, 42); | 3 %! structure = struct (fieldname, 42); |
4 %! anonfunc = @ () structure.(fieldname); | 4 %! anonfunc = @ () structure.(fieldname); |
5 %! assert (anonfunc (), 42) | 5 %! assert (anonfunc (), 42) |