diff options
Diffstat (limited to 'testsuite/bc.tests')
-rwxr-xr-x | testsuite/bc.tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests index e0a45a8..e303cf6 100755 --- a/testsuite/bc.tests +++ b/testsuite/bc.tests @@ -16,6 +16,11 @@ testing "bc comment 2: /*/ is not a closed comment" \ "4\n" \ "" "1 /*/ + 2 */ + 3" +testing "bc comment 3: unterminated #comment" \ + "bc" \ + "" \ + "" "#foo" # no trailing newline + testing "bc backslash 1" \ "bc" \ "3\n" \ |