summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd')
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd b/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd
new file mode 100644
index 0000000000..116b0151da
--- /dev/null
+++ b/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd
@@ -0,0 +1,6 @@
+func args(a, b):
+ print(a)
+ print(b)
+
+func test():
+ args(1,2