summaryrefslogtreecommitdiff
path: root/tests/functional/undefined_loop_variable.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/undefined_loop_variable.txt')
-rw-r--r--tests/functional/undefined_loop_variable.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/undefined_loop_variable.txt b/tests/functional/undefined_loop_variable.txt
new file mode 100644
index 000000000..64cf6388b
--- /dev/null
+++ b/tests/functional/undefined_loop_variable.txt
@@ -0,0 +1,3 @@
+undefined-loop-variable:6:do_stuff:Using possibly undefined loop variable 'var'
+undefined-loop-variable:25::Using possibly undefined loop variable 'var1'
+undefined-loop-variable:75:do_stuff_with_redefined_range:Using possibly undefined loop variable 'var'