summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/sbvalue_persist/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/sbvalue_persist/main.cpp')
-rw-r--r--lldb/test/python_api/sbvalue_persist/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/lldb/test/python_api/sbvalue_persist/main.cpp b/lldb/test/python_api/sbvalue_persist/main.cpp
new file mode 100644
index 00000000000..650d87acd6e
--- /dev/null
+++ b/lldb/test/python_api/sbvalue_persist/main.cpp
@@ -0,0 +1,14 @@
+#include <vector>
+#include <string>
+
+void f() {}
+
+int main() {
+ int foo = 10;
+ int *bar = new int(4);
+ std::string baz = "85";
+
+ f(); // break here
+ f(); // break here
+ return 0;
+} \ No newline at end of file
OpenPOWER on IntegriCloud