aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file2.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
commit14f1b3e8826ce43b978db93a62d1166055db5394 (patch)
tree0a00ad8d3498783fe0193f3b656bca17c4c8697d /packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file2.cpp
parent4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file2.cpp')
-rw-r--r--packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file2.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file2.cpp b/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file2.cpp
index 3bd1aaf95a733..109e01572ed2c 100644
--- a/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file2.cpp
+++ b/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file2.cpp
@@ -1,6 +1,7 @@
#include "decls.h"
-void
-struct2::f()
-{
+struct2::~struct2() {
+ int x = g(); // Break2
}
+
+void struct2::f() {}