view test/bug-52851/script3.m @ 31130:0c637fa9529a

build: Search for python executable with multiple names (bug #62372) * m4/acinclude.m4 (OCTAVE_PROG_PYTHON): Switch to AC_CHECK_PROGS and search for a range of possible names for python executable.
author Rik <rik@octave.org>
date Sat, 09 Jul 2022 09:58:02 -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