From 9a23b07c4c0d06c40d7c0ce91c5fdf7c8449ac49 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 12 Dec 2018 21:41:40 +0100 Subject: testsuite: add bc and dc tests Signed-off-by: Denys Vlasenko --- testsuite/bc_arrays.bc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 testsuite/bc_arrays.bc (limited to 'testsuite/bc_arrays.bc') 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] + -- cgit v1.1