changeset 28185:493d46a02edc

test: Add %!xtest for bug #50743 so it is not forgotten (bug #50743). * file-io.cc (Ftextscan): Add %!xtest for bug #50743 which checks '%u64' format.
author Rik <rik@octave.org>
date Sun, 29 Mar 2020 12:59:33 -0700
parents c805c1b541fa
children ad33d23d264f
files libinterp/corefcn/file-io.cc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/file-io.cc	Sun Mar 29 12:53:19 2020 -0700
+++ b/libinterp/corefcn/file-io.cc	Sun Mar 29 12:59:33 2020 -0700
@@ -2321,6 +2321,10 @@
 %! C = textscan (str, '%s', 'Delimiter', '\t', 'MultipleDelimsAsOne', false);
 %! assert (C{1}, {'a'; ''; 'b'; 'c'});
 
+%!xtest <50743>
+%! C = textscan ('5973459727478852968', '%u64');
+%! assert (C{1}, uint64 (5973459727478852968));
+
 */
 
 // These tests have end-comment sequences, so can't just be in a comment