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 --- .../lldbsuite/test/functionalities/frame-diagnose/array/main.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/main.c (limited to 'packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/main.c') diff --git a/packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/main.c b/packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/main.c new file mode 100644 index 000000000000..95c6515e5f54 --- /dev/null +++ b/packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/main.c @@ -0,0 +1,9 @@ +struct Foo { + int b; + int c; +}; + +int main() { + struct Foo *a = 0; + return a[10].c; +} -- cgit v1.2.3