summaryrefslogtreecommitdiff
path: root/python/testData/debug/test2.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/testData/debug/test2.py')
-rw-r--r--python/testData/debug/test2.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/testData/debug/test2.py b/python/testData/debug/test2.py
new file mode 100644
index 000000000000..246363a5f482
--- /dev/null
+++ b/python/testData/debug/test2.py
@@ -0,0 +1,8 @@
+def foo(x):
+ y = x + 2
+ print(y)
+
+z = 1
+foo(z)
+z += 1
+print(z)