diff options
Diffstat (limited to 'tests/func.right')
-rw-r--r-- | tests/func.right | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/func.right b/tests/func.right new file mode 100644 index 00000000..fcdfe92d --- /dev/null +++ b/tests/func.right @@ -0,0 +1,28 @@ +a returns 5 +b returns 4 +c returns 3 +d returns 2 +in e +e returned 25 +x is 25 +ZZ +abcde +defghi +ZZ +5 +0 +AVAR +AVAR +foo +foo +AVAR +5 +5 +f1 +f1 () +{ + ( return 5 ); + status=$?; + echo $status; + return $status +} |