view test/bug-38565.tst @ 18222:4d90e104bf35 gui-release

Allow jit-typeinfo.h to compile with clang on OS X (bug #41114) * jit-typeinfo.h, jit-typeinfo.cc (jit_operation::signature_cmp::operator()): Now const.
author Michael C. Grant <mcg@cvxr.com>
date Sun, 05 Jan 2014 17:43:18 -0600
parents b9e510a1f308
children
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");