From 14f1b3e8826ce43b978db93a62d1166055db5394 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:26:05 +0000 Subject: Vendor import of lldb trunk r290819: https://llvm.org/svn/llvm-project/lldb/trunk@290819 --- .../data-formatter/pyobjsynthprovider/main.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/main.cpp (limited to 'packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/main.cpp') diff --git a/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/main.cpp b/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/main.cpp new file mode 100644 index 0000000000000..6745366fb1214 --- /dev/null +++ b/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/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 Foo +{ + double x; + int y; + Foo() : x(3.1415), y(1234) {} +}; + +int main() { + Foo f; + return 0; // break here +} -- cgit v1.3