view test/bug-50014/duplicate_primary_subfunction_old_syntax.m @ 31227:0dec459a4064

sparse-xpow.cc: Performance tweak for threshold selection
author Arun Giridhar <arungiridhar@gmail.com>
date Wed, 14 Sep 2022 09:59:31 -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