aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/bc.tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests
index 4f0d50f73..5e8c47c0f 100755
--- a/testsuite/bc.tests
+++ b/testsuite/bc.tests
@@ -16,6 +16,16 @@ testing "bc comment 2: /*/ is not a closed comment" \
"4\n" \
"" "1 /*/ + 2 */ + 3"
+testing "bc backslash 1" \
+ "bc" \
+ "3\n" \
+ "" "1 \\\\\n + 2"
+
+testing "bc string 1" \
+ "bc" \
+ "STR\n" \
+ "" "\"STR\n\""
+
tar xJf bc_large.tar.xz
for f in bc*.bc; do