summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out')
-rw-r--r--modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out b/modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out
new file mode 100644
index 0000000000..26ce0465b1
--- /dev/null
+++ b/modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out
@@ -0,0 +1,9 @@
+GDTEST_OK
+>> WARNING
+>> Line: 2
+>> UNUSED_VARIABLE
+>> The local variable 'test' is declared but never used in the block. If this is intended, prefix it with an underscore: '_test'
+>> WARNING
+>> Line: 2
+>> SHADOWED_VARIABLE
+>> The local variable "test" is shadowing an already-declared function at line 1.