aboutsummaryrefslogtreecommitdiffstats
path: root/spec/e2e/test-index.alv
diff options
context:
space:
mode:
Diffstat (limited to 'spec/e2e/test-index.alv')
-rw-r--r--spec/e2e/test-index.alv9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/e2e/test-index.alv b/spec/e2e/test-index.alv
new file mode 100644
index 0000000..3a06047
--- /dev/null
+++ b/spec/e2e/test-index.alv
@@ -0,0 +1,9 @@
+([10]import array- struct-)
+
+([2]def notes ([3]array
+ ([5]struct 'note' 'a' 'octave' 3)
+ ([6]struct 'note' 'e' 'octave' 3)
+ ([7]struct 'note' 'f' 'octave' 2)))
+
+([4]trace notes)
+([8]trace ([9]struct-/get ([11]array-/get notes 1) "octave"))