aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/main.cpp')
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/main.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/main.cpp b/packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/main.cpp
new file mode 100644
index 000000000000..ac77e537b80a
--- /dev/null
+++ b/packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/main.cpp
@@ -0,0 +1,20 @@
+//===-- main.cpp ------------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+struct S {
+ int x;
+ int y;
+
+ S() : x(123), y(456) {}
+};
+
+int main() {
+ S object;
+ return 0; // break here
+}