view test/bug-52851/script3.m @ 33589:f07a7fe7bd51 default tip @

maint: merge stable to default
author Rik <rik@octave.org>
date Thu, 16 May 2024 08:32:01 -0700
parents d45d1b4bb919
children
line wrap: on
line source

1; %script identifier

if (flag)
  function r = computation ()
    r = 1;
  endfunction

  r = computation ();
else
  function r = computation ()
    r = 2;
  endfunction

  r = computation ();
endif