aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/python_api/value/empty_class/main.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-09 21:23:57 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-09 21:23:57 +0000
commit6f2913059696064e80328b389e44b199c1af526d (patch)
tree8d2b2aaa047af4efa941f90ee220f8099c1d1650 /packages/Python/lldbsuite/test/python_api/value/empty_class/main.cpp
parenta4092fcbfb39b4d32a8e152a110d20132779d538 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/value/empty_class/main.cpp')
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/empty_class/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/python_api/value/empty_class/main.cpp b/packages/Python/lldbsuite/test/python_api/value/empty_class/main.cpp
new file mode 100644
index 000000000000..96b203526dbd
--- /dev/null
+++ b/packages/Python/lldbsuite/test/python_api/value/empty_class/main.cpp
@@ -0,0 +1,16 @@
+//===-- main.cpp ------------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+class Empty {};
+
+int main (int argc, char const *argv[]) {
+ Empty e;
+ Empty* ep = new Empty;
+ return 0; // Break at this line
+}