view test/bug-50014/duplicate_nested_function.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 28668bfd5b63
children
line wrap: on
line source

## Test duplicate nested function names
function duplicate_nested_function ()

  function r = nested_fcn_1 ()
    r = 1;
  endfunction

  function r = nested_fcn_1 ()
    r = 2;
  endfunction

endfunction