summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser-warnings/unused-variable.gd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/tests/scripts/parser-warnings/unused-variable.gd')
-rw-r--r--modules/gdscript/tests/scripts/parser-warnings/unused-variable.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/parser-warnings/unused-variable.gd b/modules/gdscript/tests/scripts/parser-warnings/unused-variable.gd
new file mode 100644
index 0000000000..68e3bd424f
--- /dev/null
+++ b/modules/gdscript/tests/scripts/parser-warnings/unused-variable.gd
@@ -0,0 +1,2 @@
+func test():
+ var unused = "not used"