view test/bug-38576.tst @ 19515:9d1917a61759

allow __player_audioplayer__ to build even when PortAudio is not present * __player_audioplayer__.cc: added conditional compilation constructs to prevent parts requiring PortAudio from being built if it is not present
author Vytautas Jančauskas <unaudio@gmail.com>
date Mon, 16 Sep 2013 16:26:29 +0300
parents 11115c237231
children 730bc06134f9
line wrap: on
line source

%!function r = f1 ()
%!  ls = svd (1);
%!  r = eval ("ls -1;");
%!endfunction
%!function r = f2 ()
%!  [u,ls,v] = svd (1);
%!  r = eval ("ls -1;");
%!endfunction
%!function r = f3 (ls)
%!  r = eval ("ls -1;");
%!endfunction

%!assert (f1 (), 0);
%!assert (f2 (), 0);
%!assert (ischar (f3 ()), true);
%!assert (f3 (1), 0);