summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/parser/features/nested_function_calls.gd
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-09-15 19:09:34 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-09-15 19:57:39 +0200
commitc6ca09dc6f0fdf693c2a4445e556861691a81152 (patch)
tree486146583022e3bf72af033e21f13d6311856fd9 /modules/gdscript/tests/scripts/parser/features/nested_function_calls.gd
parent520462e98c15ef583f24ea39fb874a388d377b1c (diff)
downloadredot-engine-c6ca09dc6f0fdf693c2a4445e556861691a81152.tar.gz
Add more integration tests to the GDScript test suite
This also fixes a typo in the `bitwise_float_right_operand.gd` test.
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/features/nested_function_calls.gd')
-rw-r--r--modules/gdscript/tests/scripts/parser/features/nested_function_calls.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/parser/features/nested_function_calls.gd b/modules/gdscript/tests/scripts/parser/features/nested_function_calls.gd
new file mode 100644
index 0000000000..59cdc7d6c2
--- /dev/null
+++ b/modules/gdscript/tests/scripts/parser/features/nested_function_calls.gd
@@ -0,0 +1,5 @@
+func foo(x):
+ return x + 1
+
+func test():
+ print(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(foo(0)))))))))))))))))))))))))