view test/test_return.m @ 6469:a848b846cb3a ss-2-9-10

[project @ 2007-03-27 18:42:11 by jwe]
author jwe
date Tue, 27 Mar 2007 18:42:11 +0000
parents 1ad66ea35fe5
children 93c65f2a5668
line wrap: on
line source

%% Automatically generated from DejaGNU files

%% test/octave.test/return/return-1.m
%!function y = f ()
%!  y = 1;
%!  return
%!  y = 2;
%!assert(f(),1)

%% test/octave.test/return/return-2.m
%!test
%! return;