view test/bug-50014/duplicate_subfunction_old_syntax.m @ 31237:e3016248ca5d

uifigure.m: Call set () only if varargin is not empty (bug #63088) * uifigure.m: Call set () only if varargin is not empty.
author John Donoghue <john.donoghue@ieee.org>
date Wed, 21 Sep 2022 09:55:32 -0400
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