view test/bug-50014/duplicate_primary_subfunction_old_syntax.m @ 31230:6646f2b5a3d1

lcm.m: Emit warnings when results not exact (Bug #32924)
author Arun Giridhar <arungiridhar@gmail.com>
date Sat, 17 Sep 2022 04:22:38 -0400
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