summaryrefslogtreecommitdiffstats
path: root/modules/ast/tests/nonreg_tests/bug_16667.tst
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ast/tests/nonreg_tests/bug_16667.tst')
-rw-r--r--modules/ast/tests/nonreg_tests/bug_16667.tst20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/ast/tests/nonreg_tests/bug_16667.tst b/modules/ast/tests/nonreg_tests/bug_16667.tst
new file mode 100644
index 0000000..486c684
--- /dev/null
+++ b/modules/ast/tests/nonreg_tests/bug_16667.tst
@@ -0,0 +1,20 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2021 - St├ęphane MOTTELET
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7//
8// <-- CLI SHELL MODE -->
9// <-- NO CHECK REF -->
10//
11// <-- Non-regression test for bug 16667 -->
12//
13// <-- Bugzilla URL -->
14// http://bugzilla.scilab.org/16667
15//
16// <-- Short Description -->
17// ./ is broken for a RHS having 0 (recent regression. 6.1.0 was OK)
18
19assert_checkequal(1./[1 0],[1 %inf])
20assert_checkequal(1./[1 -0],[1 -%inf])