Mercurial > octave
view test/bug-38565.tst @ 21248:5ddc9b61a0c4
* Makefile.am (BUILT_SOURCES): Add octave-config.h to the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2016 13:10:16 -0500 |
parents | b9e510a1f308 |
children | a4faec57f4c8 |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");