summaryrefslogtreecommitdiffhomepage
path: root/testsuite/bc_pi.bc
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-12 21:41:40 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-12 21:41:40 +0100
commit9a23b07c4c0d06c40d7c0ce91c5fdf7c8449ac49 (patch)
tree9b1a85084b1e046b0a5b5eb06375334ef1eb2f56 /testsuite/bc_pi.bc
parentd6ad3666dc51f475a6e76b07f2c59d039f69f2d4 (diff)
testsuite: add bc and dc tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/bc_pi.bc')
-rw-r--r--testsuite/bc_pi.bc4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/bc_pi.bc b/testsuite/bc_pi.bc
new file mode 100644
index 000000000..b98419f12
--- /dev/null
+++ b/testsuite/bc_pi.bc
@@ -0,0 +1,4 @@
+for (i = 0; i <= 100; ++i) {
+ scale = i
+ 4 * a(1)
+}