view test/bug-50014/duplicate_subfunction_old_syntax.m @ 31194:e859837e620d

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 18 Aug 2022 08:41:39 +0200
parents 0c99b8c2e5bb
children
line wrap: on
line source

## Test old-style subfunctions with no END statements.

function r = duplicate_subfunction_old_syntax ()
  r = 0;
  bug ();

function r = bug ()
  r = 1

function r = bug ()
  r = 2