summaryrefslogtreecommitdiff
path: root/tests/func.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/func.right')
-rw-r--r--tests/func.right7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/func.right b/tests/func.right
index e97a486..da8b45c 100644
--- a/tests/func.right
+++ b/tests/func.right
@@ -27,7 +27,7 @@ f1 ()
return $status
}
before: try to assign to FUNCNAME
-outside: FUNCNAME = main
+outside: FUNCNAME =
before: FUNCNAME = func
FUNCNAME = func2
after: FUNCNAME = func
@@ -136,6 +136,11 @@ funcc ()
func-a
func-b
func-c
+foo-bar
+foo-bar ()
+{
+ :
+}
expect 5 10
5 10
expect 20