Mercurial > octave-libgccjit
view test/bug-38565.tst @ 18933:37c98933f26c
avoid an old-style cast warning
* Backend.cc (Backend::initialize): Use reinterpret_cast instead of
C-style cast.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 17 Jul 2014 11:47:36 -0400 |
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");