summaryrefslogtreecommitdiffstats
path: root/packages/Python/lldbsuite/test/python_api/sbvalue_persist/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/sbvalue_persist/main.cpp')
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbvalue_persist/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/python_api/sbvalue_persist/main.cpp b/packages/Python/lldbsuite/test/python_api/sbvalue_persist/main.cpp
new file mode 100644
index 0000000..650d87a
--- /dev/null
+++ b/packages/Python/lldbsuite/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