summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/value_var_update/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/value_var_update/main.c')
-rw-r--r--lldb/test/python_api/value_var_update/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/test/python_api/value_var_update/main.c b/lldb/test/python_api/value_var_update/main.c
new file mode 100644
index 00000000000..115bc10a372
--- /dev/null
+++ b/lldb/test/python_api/value_var_update/main.c
@@ -0,0 +1,9 @@
+int main() {
+ int i = 0;
+ for (int j = 3; j < 20; j++)
+ {
+ i += j;
+ i = i - 1; // break here
+ }
+ return i;
+}
OpenPOWER on IntegriCloud