view test/bug-60237/bug_60237.m @ 31060:7201d9b7cea6 stable

NEWS.7.md: Fix typo and formatting.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 02 Jun 2022 19:52:08 +0200
parents 34d06c73b48d
children
line wrap: on
line source

function r = bug_60237 ()
  d = 2;
  function c = bm (a)
    c = a + d;
  endfunction;
  r = ancall (@(a) bm (a), 2);
endfunction

function r = ancall (f, a)
  r = f (a) + 1;
endfunction