Mercurial > octave
changeset 31910:31f9e97759b4 stable
* if.tst: New test for bug #63935.
author | A.R. Burgers <arburgers@gmail.com> |
---|---|
date | Mon, 20 Mar 2023 12:51:04 -0400 |
parents | c6827549b7d5 |
children | cdde21868c2d |
files | test/if.tst |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/if.tst Mon Mar 20 12:46:05 2023 -0400 +++ b/test/if.tst Mon Mar 20 12:51:04 2023 -0400 @@ -48,6 +48,14 @@ %! endif %! assert (__prog_output_assert__ ("pass")); +%!test <63935> +%! if (true (4, 1) & true (4, 1)) +%! __printf_assert__ ("pass\n"); +%! elseif (x) +%! __printf_assert__ ("fail\n"); +%! endif +%! assert (__prog_output_assert__ ("pass")); + %!test %! x = 0; %! y = -2;