summaryrefslogtreecommitdiffstats
path: root/tests/012/op.tl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/012/op.tl')
-rw-r--r--tests/012/op.tl11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/012/op.tl b/tests/012/op.tl
index 0cdc3e7b..5a789219 100644
--- a/tests/012/op.tl
+++ b/tests/012/op.tl
@@ -82,3 +82,14 @@
[[(do op list @1)] 2] :error
[[(do op list @1) 1] 2] (2 1)
[[(do op list @@1 @1) 1] 2] (1 2))
+
+(mtest
+ [[[[(do do do op list @1) 1] 2] 3] 4] (4 1 2 3)
+ [[[[(do do do op list @@1) 1] 2] 3] 4] (3 1 2 4)
+ [[[[(do do do op list @@@1) 1] 2] 3] 4] (2 1 3 4)
+ [[[[(do do do op list @@@@1) 1] 2] 3] 4] (1 2 3 4))
+
+(mtest
+ [[[[(do do do op list) 1] 2] 3] 4] (1 2 3 4)
+ [[[[(do do do op list @1 @@1 @@@1 @@@@1) 1] 2] 3] 4] (4 3 2 1)
+ [[[[(do do do op list @@@@1 @@@1 @@1 @1) 1] 2] 3] 4] (1 2 3 4))