summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/bc.tests17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests
index 0690e9c..d057bea 100755
--- a/testsuite/bc.tests
+++ b/testsuite/bc.tests
@@ -134,6 +134,23 @@ while(i--) {
99
"
+testing "bc continue in for" \
+ "bc" \
+ "\
+1
+77
+2
+99
+" \
+ "" "\
+for(i=1; i<3; i++) {
+ i
+ if(i==2) continue
+ 77
+}
+99
+"
+
tar xJf bc_large.tar.xz
for f in bc*.bc; do