summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorClément David <clement.david@esi-group.com>2021-07-15 15:50:48 +0200
committerClément David <clement.david@esi-group.com>2021-07-15 15:50:48 +0200
commit81a9cc049332de0c712cf56da585fcd25c8e59e3 (patch)
treef365c25a05c1782a16b2985bf7481116c106952d /modules
parentb0937f19e4b8ddf416ca9a9a433bcbbd3f4ef2c0 (diff)
parent90b4ecb9b57ac6ad4e00d4a99b0d8bd1a6424403 (diff)
downloadscilab-master.zip
scilab-master.tar.gz
Merge remote-tracking branch 'origin/6.1'HEADmaster
Change-Id: I5d26fc380a28efe0bb6d0096fe9684b274b55bfe
Diffstat (limited to 'modules')
-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])