aboutsummaryrefslogtreecommitdiffstats
path: root/tests/func.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/func.right')
-rw-r--r--tests/func.right13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/func.right b/tests/func.right
index da8b45c..70bf123 100644
--- a/tests/func.right
+++ b/tests/func.right
@@ -153,4 +153,17 @@ expect 2 40
2 40
expect 5 20
5 20
+./func4.sub: line 10: foo: maximum function nesting level exceeded (100)
+1
+after: f = 100
+./func4.sub: line 10: foo: maximum function nesting level exceeded (100)
+1
+after: f = 100
+7
+after FUNCNEST reset: f = 201
+7
+after FUNCNEST unset: f = 201
+./func4.sub: line 10: foo: maximum function nesting level exceeded (20)
+1
+after FUNCNEST assign: f = 38
5