view test/bug-50014/duplicate_primary_subfunction_old_syntax.m @ 31197:8d4c87e88d0e

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 23 Aug 2022 19:45:19 +0200
parents 0c99b8c2e5bb
children
line wrap: on
line source

## Test old-style subfunctions with no END statements

function r = duplicate_primary_subfunction_old_syntax ()
  r = 0;
  notbug ();

function r = notbug ()
  r = 1

function r = duplicate_primary_subfunction_old_syntax ()
  r = 2