From 44d6e8a27294e5ca7300ab11900011b73d9336d4 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 21 Jul 2026 01:55:56 +0200 Subject: Implement slices --- testsuite/compilable/slice_index.elna | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testsuite/compilable/slice_index.elna (limited to 'testsuite/compilable') diff --git a/testsuite/compilable/slice_index.elna b/testsuite/compilable/slice_index.elna new file mode 100644 index 0000000..70d26ae --- /dev/null +++ b/testsuite/compilable/slice_index.elna @@ -0,0 +1,11 @@ +proc f() +var + a: []Int + x: Int + p: ^Int +begin + x := a[1]; + a := p[1u to 10u] +return + +end. -- cgit v1.2.3