summaryrefslogtreecommitdiff
path: root/testsuite/bc_arrays.bc
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/bc_arrays.bc')
-rw-r--r--testsuite/bc_arrays.bc10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/bc_arrays.bc b/testsuite/bc_arrays.bc
new file mode 100644
index 0000000..26a284b
--- /dev/null
+++ b/testsuite/bc_arrays.bc
@@ -0,0 +1,10 @@
+a[0] = 1
+a[2-1] = 2
+
+a[0]+a[0]
+
+a[2-1]+a[2-1]
+
+a[5] = 2
+a[5.789]
+