summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/parser/features/function_many_parameters.gd
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-09-21 14:13:24 +0200
committerGitHub <noreply@github.com>2021-09-21 14:13:24 +0200
commit82c12060b26d0045a5c7d9b3a1f94b29baf062ea (patch)
tree6d7305f3d976f0037f5dc0d73f578435493d35bd /modules/gdscript/tests/scripts/parser/features/function_many_parameters.gd
parent91960b7b81523cb545b2dfb47c235cf21dd460f3 (diff)
parentc6ca09dc6f0fdf693c2a4445e556861691a81152 (diff)
downloadredot-engine-82c12060b26d0045a5c7d9b3a1f94b29baf062ea.tar.gz
Merge pull request #52718 from Calinou/gdscript-add-integration-tests-2
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/features/function_many_parameters.gd')
-rw-r--r--modules/gdscript/tests/scripts/parser/features/function_many_parameters.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/parser/features/function_many_parameters.gd b/modules/gdscript/tests/scripts/parser/features/function_many_parameters.gd
new file mode 100644
index 0000000000..01edb37cec
--- /dev/null
+++ b/modules/gdscript/tests/scripts/parser/features/function_many_parameters.gd
@@ -0,0 +1,5 @@
+func example(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, arg29, arg30, arg31, arg32, arg33, arg34, arg35, arg36, arg37, arg38, arg39, arg40, arg41, arg42, arg43, arg44, arg45, arg46, arg47, arg48 = false, arg49 = true, arg50 = null):
+ print(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, arg29, arg30, arg31, arg32, arg33, arg34, arg35, arg36, arg37, arg38, arg39, arg40, arg41, arg42, arg43, arg44, arg45, arg46, arg47, arg48, arg49, arg50)
+
+func test():
+ example(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47)