view test/bug-50014/duplicate_primary_nested_function.m @ 31221:f5755dbacd8d

maint: merge stable to default
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Wed, 31 Aug 2022 22:04:02 +0200
parents 12956e50e508
children
line wrap: on
line source

## Test duplicate primary/nested function names
function duplicate_primary_nested_function ()

  function r = duplicate_primary_nested_function ()
    r = 1;
  endfunction

endfunction