aboutsummaryrefslogtreecommitdiff
path: root/testsuite/bc.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/bc.tests')
-rwxr-xr-xtestsuite/bc.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests
index e0a45a8bd..e303cf6ae 100755
--- a/testsuite/bc.tests
+++ b/testsuite/bc.tests
@@ -16,6 +16,11 @@ testing "bc comment 2: /*/ is not a closed comment" \
16 "4\n" \ 16 "4\n" \
17 "" "1 /*/ + 2 */ + 3" 17 "" "1 /*/ + 2 */ + 3"
18 18
19testing "bc comment 3: unterminated #comment" \
20 "bc" \
21 "" \
22 "" "#foo" # no trailing newline
23
19testing "bc backslash 1" \ 24testing "bc backslash 1" \
20 "bc" \ 25 "bc" \
21 "3\n" \ 26 "3\n" \